Skip to content

Commit

Permalink
ARM: Pass dl_hwcap to IFUNC resolver functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Newton authored and Joseph Myers committed Jul 2, 2013
1 parent c53e2f0 commit 1413c69
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ports/ChangeLog.arm
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion ports/sysdeps/arm/dl-machine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1413c69

Please sign in to comment.