* bfd/Makefile.am, binutils/Makefile.am, etc/Makefile.in
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a1978d14330fb5c9ab78b716e8835b6bdb734a25..c01b8de78214d6b610eab6848ca60ba97d9d0d6c 100644 (file)
@@ -1,3 +1,165 @@
+2005-05-19  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.am: Have 'all' depend on 'info'.
+       * Makefile.in: Regenerate.
+
+2005-05-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_link_hash_table): Delete init_refcount and
+       init_offset.  Add init_got_refcount, init_plt_refcount,
+       init_got_offset and init_plt_offset.
+       * elf.c (_bfd_elf_link_hash_newfunc): Adjust for above change.
+       (_bfd_elf_link_hash_hide_symbol): Likewise.
+       (_bfd_elf_link_hash_table_init): Likewise.
+       * elf32-hppa.c (elf32_hppa_hide_symbol): Likewise.
+       * elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
+       * elflink.c (_bfd_elf_adjust_dynamic_symbol): Likewise.
+       (bfd_elf_size_dynamic_sections): Likewise.
+       * elf32-ppc.c (GLINK_PLTRESOLVE): Now 16 insns.
+       (LWZU_0_X_12, LWZ_0_4_30, LWZ_0_X_12, LWZ_11_X_11, LWZ_11_X_30,
+       LWZ_12_4_12, LWZ_12_8_30, LWZ_12_X_12, SUB_11_11_30): Delete.
+       (ADDIS_12_12, BCL_20_31, LWZU_0_12, LWZ_0_12, LWZ_11_11, LWZ_11_30,
+       LWZ_12_12, MFLR_0, MFLR_12, MTLR_0, SUB_11_11_12): Define.
+       (struct plt_entry): New.
+       (ppc_elf_link_hash_table_create): Set new init_plt fields.
+       (ppc_elf_copy_indirect_symbol): Handle merge of plt plist.  Don't
+       use _bfd_elf_link_hash_copy_indirect.
+       (update_plt_info, find_plt_ent): New functions.
+       (ppc_elf_check_relocs): Handle R_PPC_PLTREL24 with non-zero addend
+       and adjust for use of plt list rather than refcount.
+       (ppc_elf_gc_sweep_hook): Likewise.
+       (ppc_elf_tls_optimize): Likewise.
+       (ppc_elf_adjust_dynamic_symbol): Likewise.
+       (allocate_dynrelocs): Likewise.
+       (ppc_elf_relax_section): Likewise.
+       (ppc_elf_relocate_section): Likewise.  Adjust R_PPC_PLTREL24 addends
+       when performing a relocatable link.
+       (ppc_elf_finish_dynamic_symbol): Likewise.  Write .glink stubs here..
+       (ppc_elf_finish_dynamic_sections): ..rather than here.  Use new
+       pic resolver stub.
+
+2005-05-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (assign_file_positions_for_segments): Use maximum of
+       maxpagesize and section alignment when adjusting initial
+       segment offset and section offsets.
+
+2005-05-18  Zack Weinberg  <zack@codesourcery.com>
+
+       * elf32-arm.c: Make all #ifndef OLD_ARM_ABI blocks
+       unconditional.
+
+2005-05-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (group_signature): Undo the last change. Check if the
+       symbol table section is correct.
+
+2005-05-17  Zack Weinberg  <zack@codesourcery.com>
+
+       * elf32-arm.c: Wherever possible, use official reloc names
+       from AAELF.
+       (elf32_arm_howto_table, elf32_arm_tls_gd32_howto)
+       (elf32_arm_tls_ldo32_howto, elf32_arm_tls_ldm32_howto)
+       (elf32_arm_tls_le32_howto, elf32_arm_tls_ie32_howto)
+       (elf32_arm_vtinherit_howto, elf32_arm_vtentry_howto)
+       (elf32_arm_pc11_howto, elf32_arm_thm_pc9_howto, elf32_arm_got_prel)
+       (elf32_arm_r_howto): Replace with elf32_arm_howto_table_1,
+       elf32_arm_howto_table_2, and elf32_arm_howto_table_3.
+       Add many new relocations from AAELF.
+       (elf32_arm_howto_from_type): Update to match.
+       (elf32_arm_reloc_map): Add entries for R_ARM_THM_JUMP24,
+       R_ARM_THM_JUMP11, R_ARM_THM_JUMP19, R_ARM_THM_JUMP8,
+       R_ARM_THM_JUMP6, R_ARM_GNU_VTINHERIT, and R_ARM_GNU_VTENTRY.
+       (elf32_arm_reloc_type_lookup): Use elf32_arm_howto_from_type.
+       (elf32_arm_final_link_relocate): Add support for
+       R_ARM_THM_JUMP24, R_ARM_THM_JUMP19, R_ARM_THM_JUMP6.  Remove
+       case entries redundant with default.
+
+       * reloc.c: Reorganize ARM relocations.  Add Thumb
+       assembler-internal relocations BFD_RELOC_ARM_T32_OFFSET_U8,
+       BFD_RELOC_ARM_T32_OFFSET_IMM, BFD_RELOC_ARM_T32_IMMEDIATE.
+       Add visible relocations BFD_RELOC_THUMB_PCREL_BRANCH7,
+       BFD_RELOC_THUMB_BRANCH20, BFD_RELOC_THUMB_BRANCH25.
+       Delete unused relocations BFD_RELOC_ARM_GOT12, BFD_RELOC_ARM_COPY.
+       * bfd-in2.h, libbfd.h: Regenerate.
+
+2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * elf.c (_bfd_elf_write_object_contents): Check for non-NULL
+       elf_shstrtab.
+       * format.c (bfd_check_format_matches): Set output_has_begun
+       for both_direction.
+       * section.c (bfd_set_section_contents): Use bfd_write_p.  Remove
+       special case for both_direction.
+
+2005-05-17  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (group_signature): Check for a group section which is
+       actually a (corrupt) symbol table section in disguise and prevent
+       an infinite loop from occurring.
+
+2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_brl): Undo the change made on
+       2005-02-16.
+
+2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_br): Keep the original
+       predicate on slot 0 only if slot 0 isn't br.
+
+2005-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 797
+       * elf32-i386.c (elf_i386_size_dynamic_sections): Also remove
+       empty sdynbss section.
+       * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.
+
+2005-05-17  Tavis Ormandy <taviso@gentoo.org>
+
+       * elf.c (bfd_section_from_shdr): Add sanity check when parsing
+       dynamic sections.
+
+2005-05-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (LIS_11. LIS_12): Define.
+       (LWZU_0_X_12, LWZ_0_X_12, LWZ_12_4_12, LWZ_12_X_12): Define.
+       (ppc_elf_finish_dynamic_sections): Provide non-pic plt call stub
+       for --data-plt when building non-pie executables.
+
+2005-05-17  Nick Clifton  <nickc@redhat.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Gracefully handle
+       the situation where a symbols's section is not known but a section
+       relative R_ARM_RELATIVE reloc has to be generated for the Symbian
+       OS.
+
+       * elf32-v850.c (v850_elf_relocate_section): Move code to test for
+       the presence of a symbol table to just before the symbol table is
+       actually used.
+
+2005-05-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 834
+       * elfxx-ia64.c (elfNN_ia64_relax_br): New.
+       (elfNN_ia64_relax_section): Use it.
+
+2005-05-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * elflink.c (bfd_elf_size_dynamic_sections): Use lbasename instead
+       of basename.
+
+2005-05-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_size_dynamic_sections): Set DT_PPC_GOT,
+       not DT_PPC_GLINK.
+       (ppc_elf_finish_dynamic_sections): Likewise.
+
+2005-05-13  Fred Fish  <fnf@specifixinc.com>
+
+       * libbfd-in.h: Fix a comment typo, 'neaderst' -> 'nearest'
+       * libbfd.h: Rebuilt.
+
 2005-05-13  Bob Wilson  <bob.wilson@acm.org>
 
        * elf32-xtensa.c (xtensa_get_property_section_name): Add missing
This page took 0.025978 seconds and 4 git commands to generate.