2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 12bef8c0b56c2433a61f68c7f35ee3bbb96f71d7..189d52d1a6580cdbe035f8864a6c992cb52ae733 100644 (file)
@@ -1,3 +1,133 @@
+2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Handle PLTOFF for
+       local and global ifunc symbols.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+
+2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (elf_link_hash_table): Add hdynamic for the
+       _DYNAMIC symbol.
+
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Set
+       hdynamic.
+
+       * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_symbol): Check
+       hdynamic instead of "_DYNAMIC".
+       * elf32-arm.c (elf32_arm_finish_dynamic_symbol): Likewise.
+       * elf32-cr16.c (elf32_arm_finish_dynamic_symbol): Likewise.
+       * elf32-cris.c (elf_cris_finish_dynamic_symbol): Likewise.
+       * elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Likewise.
+       * elf32-i386.c (elf_i386_convert_mov_to_lea): Likewise.
+       * elf32-lm32.c (lm32_elf_finish_dynamic_symbol): Likewise.
+       * elf32-m32r.c (m32r_elf_finish_dynamic_symbol): Likewise.
+       * elf32-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
+       * elf32-sh.c (sh_elf_finish_dynamic_symbol): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_finish_dynamic_symbol): Likewise.
+       * elf32-tilepro.c (tilepro_elf_finish_dynamic_symbol): Likewise.
+       * elf32-vax.c (elf_vax_finish_dynamic_symbol): Likewise.
+       * elf32-xtensa.c (elf_xtensa_finish_dynamic_symbol): Likewise.
+       * elf64-aarch64.c elf64_aarch64_finish_dynamic_symbol(): Likewise.
+       * elf64-alpha.c (elf64_alpha_finish_dynamic_symbol): Likewise.
+       * elf64-ia64-vms.c (elf64_ia64_finish_dynamic_symbol): Likewise.
+       * elf64-s390.c (elf_s390_finish_dynamic_symbol): Likewise.
+       * elf64-sh64.c (sh64_elf64_finish_dynamic_symbol): Likewise.
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+       * elfnn-ia64.c (elfNN_ia64_finish_dynamic_symbol): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_symbol): Likewise.
+       * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Likewise.
+       * elfxx-tilegx.c (tilegx_elf_finish_dynamic_symbol): Likewise.
+
+       * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol): Check
+       hdynamic, hgot, hplt instead of _DYNAMIC, _GLOBAL_OFFSET_TABLE_,
+       _PROCEDURE_LINKAGE_TABLE_.
+       * elf32-score.c (s3_bfd_score_elf_finish_dynamic_symbol): Likewise.
+       * elf32-score7.c (s7_bfd_score_elf_finish_dynamic_symbol): Likewise.
+
+2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_mov_to_lea): Don't optimize
+       _DYNAMIC.
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+
+2012-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_convert_mov_to_lea): New.
+       (elf_i386_size_dynamic_sections): Use it on input sections.
+       (elf_i386_relocate_section): Don't convert
+       "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg"
+       for local symbols here.
+
+       * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): New.
+       (elf_x86_64_size_dynamic_sections): Use it on input sections.
+       (elf_x86_64_relocate_section): Don't convert
+       "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg"
+       for local symbols here.
+
+2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Convert
+       "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg"
+       for local symbols.
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Convert
+       "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg"
+       for local symbols.
+
+2012-08-31  Alan Modra  <amodra@gmail.com>
+
+       PR ld/14464
+       * elf64-ppc.c (ppc64_elf_relocate_section): Map symbols defined
+       by a linker script in .opd to corresponding input .opd section.
+
+2012-08-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Assert that dynindx is
+       not minus one.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+
+2012-08-28  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Also override the version
+       a dynamic symbol defaulted to if preempted with a hidden or
+       internal definition.
+
+2012-08-28  Walter Lee  <walt@tilera.com>
+
+       * elf32-tilepro.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size
+       of header.
+       (tilepro_plt_entry_build): Account for new header size.
+       (tilepro_elf_finish_dynamic_sections): Ditto.
+       (tilepro_elf_plt_sym_val): Ditto.
+       * elfxx-tilegx.c (allocate_dynrelocs): Use PLT_ENTRY_SIZE as size
+       of header + tail.
+       (tilegx_elf_finish_dynamic_sections): Account for new padding.
+
+2012-08-27  Walter Lee  <walt@tilera.com>
+
+       * reloc.c (Add BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL,
+       BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): new relocations.
+       * elfxx-tilegx.c (tilegx_elf_howto_table): Handle new relocations.
+       (tilegx_reloc_map): Ditto.
+       (reloc_to_create_func): Ditto.
+       (tilegx_elf_check_relocs): Ditto.
+       (tilegx_elf_gc_sweep_hook): Ditto.
+       (tilegx_elf_relocate_section): Ditto.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
 2012-08-24  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
 
        * elf32-arm.c (v8): New array.
This page took 0.030549 seconds and 4 git commands to generate.