mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
aarch64: don't use MIN in dl-machine.h
MIN is used, but param.h may not be included, so expand its single use inline. * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
This commit is contained in:
parent
32d372d548
commit
db4f87bad4
@ -1,3 +1,7 @@
|
||||
2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
||||
|
||||
* sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
|
||||
|
||||
2017-10-04 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
[BZ #22229]
|
||||
|
@ -312,7 +312,8 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
|
||||
RTLD_PROGNAME, strtab + refsym->st_name);
|
||||
}
|
||||
memcpy (reloc_addr_arg, (void *) value,
|
||||
MIN (sym->st_size, refsym->st_size));
|
||||
sym->st_size < refsym->st_size
|
||||
? sym->st_size : refsym->st_size);
|
||||
break;
|
||||
|
||||
case AARCH64_R(RELATIVE):
|
||||
|
Loading…
Reference in New Issue
Block a user