2009-06-06 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 439e296723725b2145554af12f42dc61cd5634f7..894897377bf8c758d6d43f173092271d14059f5f 100644 (file)
@@ -1,3 +1,33 @@
+2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_check_relocs): Make room for dynamic
+       relocation for R_386_32 against STT_GNU_IFUNC symbol when
+       building shared object.  Check info->executable instead of
+       !info->shared when setting non_got_ref.
+       (elf_i386_allocate_dynrelocs): Allocate dynamic relocation
+       for non-GOT reference of STT_GNU_IFUNC symbol in shared
+       object. Allocate GOT relocation agsinst STT_GNU_IFUNC
+       symbol if needed.
+       (elf_i386_relocate_section): Output dynamic relocation for
+       R_386_32 against STT_GNU_IFUNC symbol to get the real
+       function address when building shared object.
+       (elf_i386_finish_dynamic_symbol): Output R_386_GLOB_DAT
+       relocation for STT_GNU_IFUNC symbol in shared object.
+
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Make room for
+       dynamic relocation for R_X86_64_64 against STT_GNU_IFUNC
+       symbol when building shared object.  Check info->executable
+       instead of !info->shared when setting non_got_ref.
+       (elf64_x86_64_allocate_dynrelocs): Allocate dynamic relocation
+       for non-GOT reference of STT_GNU_IFUNC symbol in shared
+       library. Allocate GOT relocation agsinst STT_GNU_IFUNC symbol
+       if needed.
+       (elf64_x86_64_relocate_section): Output dynamic relocation
+       for R_X86_64_64 against STT_GNU_IFUNC symbol to get the real
+       function address when building shared object.
+       (elf64_x86_64_finish_dynamic_symbol): Output R_X86_64_GLOB_DAT
+       relocation for STT_GNU_IFUNC symbol in shared object.
+
 2009-06-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * Makefile.am: Run "make dep-am".
This page took 0.026836 seconds and 4 git commands to generate.