ARM: Pass dl_hwcap to IFUNC resolver functions.

This commit is contained in:
Will Newton 2013-07-02 13:01:21 +00:00 committed by Joseph Myers
parent c53e2f0a56
commit 1413c693d3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-07-02 Will Newton <will.newton@linaro.org>
* sysdeps/arm/dl-machine.h (elf_machine_rela): Pass dl_hwcap
to IFUNC resolver functions.
2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo): Add

View File

@ -595,7 +595,7 @@ elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
break;
case R_ARM_IRELATIVE:
value = map->l_addr + *reloc_addr;
value = ((Elf32_Addr (*) (void)) value) ();
value = ((Elf32_Addr (*) (int)) value) (GLRO(dl_hwcap));
*reloc_addr = value;
break;
#endif