2004-06-29 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c7aba7aea9fcea579ffaebba20f6975b81808716..78bcea55e357d05df8149202e9427b907d747840 100644 (file)
@@ -1,3 +1,134 @@
+2004-06-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 240
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Don't relax branch
+       in .init/.fini sections.
+
+2004-06-29  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Use
+       bfd_get_section_limit.
+
+2004-06-29  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_combine_prop_entries): Don't change the
+       output section size.
+
+2004-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-mmix.c (mmix_set_relaxable_size): Save original size in
+       rawsize.
+       (mmix_elf_perform_relocation): Adjust for above change.
+       (mmix_elf_relocate_section): Likewise.
+       (mmix_elf_relax_section): Likewise.  Use output_section->rawsize.
+       (mmix_elf_get_section_contents): Delete.
+       (bfd_elf64_get_section_contents): Delete.
+       (mmix_elf_relocate_section): Zero stub area.
+       * linker.c (default_indirect_link_order): Alloc max of section size
+       and rawsize.
+       * simple.c (bfd_simple_get_relocated_section_contents): Likewise.
+       * section.c (bfd_malloc_and_get_section): Likewise.
+       (struct bfd_section): Update rawsize comment.
+       * bfd-in2.h: Regenerate.
+
+       * reloc16.c (bfd_coff_reloc16_relax_section): Set rawsize.
+
+2004-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (bfd_get_section_limit): Define.
+       * reloc.c (bfd_perform_relocation, bfd_install_relocation) 
+       (_bfd_final_link_relocate): Use bfd_get_section_limit.
+       * aout-tic30.c (tic30_aout_final_link_relocate): Likewise.
+       * coff-arm.c (coff_arm_relocate_section): Likewise.
+       * coff-mips.c (mips_refhi_reloc, mips_gprel_reloc): Likewise.
+       * cpu-ns32k.c (do_ns32k_reloc): Likewise.
+       (bfd_ns32k_final_link_relocate): Likewise.
+       * elf32-d30v.c (bfd_elf_d30v_reloc, bfd_elf_d30v_reloc_21): Likwise.
+       * elf32-dlx.c (_bfd_dlx_elf_hi16_reloc): Likewise.
+       * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc) 
+       (i860_howto_highadj_reloc, i860_howto_splitn_reloc): Likewise.
+       * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc, m32r_elf_hi16_reloc) 
+       (m32r_elf_generic_reloc, m32r_elf_relocate_section): Likewise.
+       * elf32-m68hc1x.c (m68hc11_elf_special_reloc): Likewise.
+       * elf32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
+       * elf32-or32.c (or32_elf_consth_reloc): Likewise.
+       * elf32-ppc.c (ppc_elf_addr16_ha_reloc): Likewise.
+       * elf32-s390.c (s390_elf_ldisp_reloc): Likewise.
+       * elf32-sh.c (sh_elf_reloc_loop): Likewise.
+       * elf32-sparc.c (sparc_elf_wdisp16_reloc): Likewise.
+       (sparc_elf_hix22_reloc, sparc_elf_lox10_reloc): Likwise.
+       * elf32-v850.c (v850_elf_reloc): Likewise.
+       * elf32-xstormy16.c (xstormy16_elf_24_reloc): Likewise.
+       * elf32-xtensa.c (bfd_elf_xtensa_reloc): Likewise.
+       * elf64-alpha.c (elf64_alpha_reloc_gpdisp): Likewise.
+       * elf64-mips.c (mips_elf64_gprel32_reloc)
+       (mips16_gprel_reloc): Likewise.
+       * elf64-mmix.c (mmix_elf_reloc): Likewise.
+       * elf64-s390.c (s390_elf_ldisp_reloc): Likewise.
+       * elf64-sparc.c (init_insn_reloc): Likewise.
+       * elfn32-mips.c (gprel32_with_gp, mips16_gprel_reloc): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp) 
+       (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_lo16_reloc) 
+       (_bfd_mips_elf_generic_reloc): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2004-06-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (struct stab_info): Move from stabs.c.
+       * stabs.c (struct stab_link_includes_table): Delete.
+       (stab_link_includes_lookup): Delete.
+       (_bfd_write_section_stabs, _bfd_write_stab_strings): Remove one
+       level of indirection from sinfo parm.
+       (_bfd_link_section_stabs): Likewise.  Set SEC_LINKER_CREATED on
+       stabstr section.  Adjust hash table accesses.
+       * coff-ppc.c (ppc_bfd_coff_final_link): Do include rawsize in contents
+       alloc.  Adjust stab_info test.
+       * cofflink.c (_bfd_coff_link_hash_table_init): Clear stab_info.
+       (_bfd_coff_final_link): Adjust stab_info test.
+       (_bfd_coff_link_input_bfd): Ignore SEC_LINKER_CREATED sections.
+       * elf-bfd.h (struct elf_link_hash_table): Include struct stab_info
+       in place.
+       * libcoff-in.h (struct coff_link_hash_table): Likewise.
+       * elf.c (_bfd_elf_link_hash_table_init): Clear stab_info.
+       * elflink.c (bfd_elf_final_link): Don't attempt to link linker created
+       stabstr section.  Adjust stab_info test.
+       * libbfd-in.h (_bfd_link_section_stabs, _bfd_write_section_stabs)
+       (_bfd_write_stab_strings): Adjust prototypes.
+       * libbfd.h: Regenerate.
+       * libcoff.h: Regenerate.
+       * bfd-in2.h: Regenerate.
+
+2004-06-27  Mark Kettenis  <kettenis@gnu.org>
+
+       From Miod Vallat <miod@online.fr>:
+       * aoutx.h (NAME(aout,machine_type)): Handle bfd_arch_m88k.
+
+2004-06-26  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): Delete.
+       (struct elf32_mn10300_link_hash_entry): Remove
+       pcrel_relocs_copied.
+       (mn10300_elf_check_relocs): Only reserve dynamic relocations for
+       R_MN10300_32.  Don't adjust pcrel_relocs_copied.
+       (mn10300_elf_final_link_relocate): Fail for direct, pc-relative
+       and gotoff relocations if the symbol doesn't bind locally.  Use
+       _bfd_elf_symbol_refs_local_p to test.  Don't create dynamic
+       relocation for PCREL32.
+       (mn10300_elf_relocate_section): Use _bfd_elf_symbol_refs_local_p
+       to test whether a symbol binds locally.
+       (elf32_mn10300_link_hash_newfunc): Don't initialize
+       pcrel_relocs_copied.
+       (_bfd_mn10300_elf_discard_copies): Delete.
+       (_bfd_mn10300_elf_size_dynamic_sections): Don't call it.
+
+2004-06-26  Mark Kettenis  <kettenis@gnu.org>
+
+       * config.bfd: Replace m88k-*-openbsd* with m88*-*-openbsd*.
+
+2004-06-25  Joel Brobecker  <brobecker@gnat.com>
+
+       * som.c (som_set_reloc_info): Correct small typo.
+
 2004-06-25  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
 
        * elf32-m32r.c (m32r_elf_howto_table): Support R_M32R_GOTOFF.
This page took 0.025477 seconds and 4 git commands to generate.