]> sourceware.org Git - glibc.git/commitdiff
ARM: Pass dl_hwcap to IFUNC resolver functions.
authorWill Newton <will.newton@linaro.org>
Tue, 2 Jul 2013 13:01:21 +0000 (13:01 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 2 Jul 2013 13:01:21 +0000 (13:01 +0000)
ports/ChangeLog.arm
ports/sysdeps/arm/dl-machine.h

index 6cc665c99ccd90ff93f57e4132c5262876960bfb..2674d0ee0a09bf96624e27325a24b023b8d01352 100644 (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
index 4cf87a99f91bb1b952bb3ac0a29635ee8d3923f4..d25152733870b1214ace05048e97c0cf2c70740d 100644 (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
This page took 0.047266 seconds and 5 git commands to generate.