mips: 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/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
This commit is contained in:
parent
f938b397dd
commit
ef5d8b4342
|
@ -1,3 +1,7 @@
|
||||||
|
2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
|
||||||
|
|
||||||
2017-11-30 Joseph Myers <joseph@codesourcery.com>
|
2017-11-30 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
|
* sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
|
||||||
|
|
|
@ -695,7 +695,8 @@ elf_machine_reloc (struct link_map *map, ElfW(Addr) r_info,
|
||||||
RTLD_PROGNAME, strtab + refsym->st_name);
|
RTLD_PROGNAME, strtab + refsym->st_name);
|
||||||
}
|
}
|
||||||
memcpy (reloc_addr, (void *) value,
|
memcpy (reloc_addr, (void *) value,
|
||||||
MIN (sym->st_size, refsym->st_size));
|
sym->st_size < refsym->st_size
|
||||||
|
? sym->st_size : refsym->st_size);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue