bfd/
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 7c8516e0803cc2b42d15b2d13ade62d9217ebb49..5a1cbd34543114653e3889853f1ea8a98812216f 100644 (file)
@@ -1,3 +1,133 @@
+2006-10-20  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate
+       a PT_NULL header for dynamic objects.
+       (_bfd_mips_elf_modify_segment_map): Add it.
+
+2006-10-19  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * elf32-score.c (score_elf_rel_dyn_section): Replace
+       bfd_make_section with bfd_make_section_with_flags.
+       (_bfd_score_elf_create_dynamic_sections): Ditto.
+       (score_elf_create_got_section): Ditto.
+       (score_elf_final_link_relocate): Delete referrence to
+       EF_SCORE_HASENTRY.
+
+2006-10-19  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (sort_dynamic_relocs): Sort relocations against the
+       same symbol by increasing r_offset.
+       (sort_dynamic_relocs_64): Likewise.  Fix comparisons between very
+       large and very small symbol indexes.
+
+2006-10-19  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Add DT_DEBUG
+       and DT_MIPS_RLD_MAP tags for position-independent executables.
+       Do not add DT_DEBUG to shared libraries for any MIPS target.
+
+2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/3290
+       * elflink.c (elf_link_add_object_symbols): Hide definitions in
+       debug sections.
+
+2006-10-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
+       don't set, glue section size.
+       (record_arm_to_thumb_glue): Set glue section size here.
+       (record_thumb_to_arm_glue): Likewise.
+       (bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
+       (bfd_elf32_arm_process_before_allocation): Ignore exluded sections.
+
+2006-10-18  Roy Marples  <uberlord@gentoo.org>
+
+       * elf64-sparc.c: Add FreeBSD support.
+       (elf64_sparc_fbsd_post_process_headers): New function.
+       * targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
+       * config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
+       * configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
+       * configure: Regenerate.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
+       R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
+       R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
+       R_ARM_THM_MOVT_BREL relocations.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+        * elf32-arm.c (elf32_arm_howto_table_1): Change offset for
+        R_THM_CALL to 25 and remove FIXME comment.
+        (using_thumb2): New function.
+        (elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.
+
+2006-10-17  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
+       for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
+       (elf32_arm_gc_sweep_hook): Likewise.
+       (elf32_arm_check_relocs): Likewise.
+       (allocate_dynrelocs): Likewise.
+
+2006-10-17  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
+       text_index_section and data_index_section.
+       (struct elf_backend_data): Add elf_backend_init_index_section.
+       (_bfd_elf_init_1_index_section): Declare.
+       (_bfd_elf_init_2_index_sections): Declare.
+       * elfxx-target.h (elf_backend_init_index_section): Define.
+       (elfNN_bed): Init new field.
+       * elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
+       section and text_index_section plus data_index_section.
+       (_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
+       (_bfd_elf_init_1_index_section): New function.
+       (_bfd_elf_init_2_index_sections): New function.
+       (bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
+       (elf_link_input_bfd): When emitting relocs, use text_index_section
+       and data_index_section for removed sections.
+       * elf-m10300.c (elf_backend_omit_section_dynsym): Define.
+       * elf32-i386.c: Likewise.
+       * elf32-m32r.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-xstormy16.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-alpha.c: Likewise.
+       * elf64-hppa.c: Likewise.
+       * elf64-mmix.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
+       and data_index_section sym for relocs against sections with no dynamic
+       section sym.
+       (elf_backend_init_index_section): Define.
+       * elf32-cris.c: Similarly.
+       * elf32-hppa.c: Similarly.
+       * elf32-i370.c: Similarly.
+       * elf32-m68k.c: Similarly.
+       * elf32-mips.c: Similarly.
+       * elf32-ppc.c: Similarly.
+       * elf32-s390.c: Similarly.
+       * elf32-sparc.c: Similarly.
+       * elf32-vax.c: Similarly.
+       * elf64-mips.c: Similarly.
+       * elf64-ppc.c: Similarly.
+       * elf64-s390.c: Similarly.
+       * elf64-sparc.c: Similarly.
+       * elf64-x86-64.c: Similarly.
+       * elfn32-mips.c: Similarly.
+       * elfxx-mips.c: Similarly.
+       * elfxx-sparc.c: Similarly.
+       * linker.c (fix_syms): Base symbols in removed sections on
+       previous section in preference to using absolute section.
+
+2006-10-16  Andreas Schwab  <schwab@suse.de>
+
+       * elfxx-ia64.c (addend_compare): Properly compute return value.
+
 2006-10-15  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/3314
This page took 0.023981 seconds and 4 git commands to generate.