Add support for m32r-linux target, including a RELA ABI and PIC.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 337c7c8c7a5ae39f58f36ae87cecae6586beccdb..9665466689574113a526faa46f07be4e21750f31 100644 (file)
@@ -1,3 +1,938 @@
+2003-12-19  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       Adfd m32r-linux and PIC support.  Add new ABI that uses RELA.
+       * config.bfd (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*): Added.
+       * configure.in (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec,
+       bfd_elf32_m32rle_vec): Added
+       * configure: Regenerated.
+       * elf32-m32r.c (m32r_info_to_howto, m32r_elf_adjust_dynamic_symbol,
+       m32r_elf_size_dynamic_sections, m32r_elf_create_dynamic_sections,
+       m32r_elf_finish_dynamic_sections, m32r_elf_finish_dynamic_symbol,
+       allocate_dynrelocs, readonly_dynrelocs, m32r_elf_reloc_type_class,
+       m32r_elf_fake_sections): Added.
+       (m32r_elf_howto_table): Added
+       R_M32R_16_RELA, R_M32R_32_RELA, R_M32R_24_RELA,
+       R_M32R_10_PCREL_RELA, R_M32R_18_PCREL_RELA,
+       R_M32R_26_PCREL_RELA, R_M32R_HI16_ULO_RELA,
+       R_M32R_HI16_SLO_RELA, R_M32R_LO16_RELA,
+       R_M32R_SDA16_RELA, R_M32R_RELA_GNU_VTINHERIT,
+       R_M32R_RELA_GNU_VTENTRY, R_M32R_GOT24,
+       R_M32R_26_PLTREL, R_M32R_COPY, R_M32R_GLOB_DAT,
+       R_M32R_JMP_SLOT, R_M32R_RELATIVE, R_M32R_GOTOFF,
+       R_M32R_GOTPC24, R_M32R_GOT16_HI_ULO,
+       R_M32R_GOT16_HI_SLO, R_M32R_GOT16_LO,
+       R_M32R_GOTPC_HI_ULO, R_M32R_GOTPC_HI_SLO,
+       R_M32R_GOTPC_LO.
+       (m32r_elf_relocate_section, m32r_elf_check_relocs): Changed for
+       New ABI.
+       * reloc.c: Add BFD_RELOC_M32R_GOT24, BFD_RELOC_M32R_26_PLTREL,
+       BFD_RELOC_M32R_COPY, BFD_RELOC_M32R_GLOB_DAT,
+       BFD_RELOC_M32R_JMP_SLOT, BFD_RELOC_M32R_RELATIVE,
+       BFD_RELOC_M32R_GOTOFF, BFD_RELOC_M32R_GOTPC24,
+       BFD_RELOC_M32R_GOT16_HI_ULO, BFD_RELOC_M32R_GOT16_HI_SLO,
+       BFD_RELOC_M32R_GOT16_LO, BFD_RELOC_M32R_GOTPC_HI_ULO,
+       BFD_RELOC_M32R_GOTPC_HI_SLO, BFD_RELOC_M32R_GOTPC_LO.
+       * targets.c (bfd_elf32_m32rlin_vec, bfd_elf32_m32rlelin_vec,
+       bfd_elf32_m32rle_vec): Added.
+       * bfd-in2.h: Regenerated.
+       * libbfd.h: Regenerated.
+
+2003-12-19  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * coffcode.h (styp_to_sec_flags): Don't treat .reloc section
+       as SEC_DEBUGGING.
+
+2003-12-18  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf32-mips.c (elf_mips_howto_table_rel): Replace all uses of
+       mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
+       _bfd_mips_elf_hi16_reloc for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16,
+       _bfd_mips_elf_lo16_reloc for R_MIPS_LO16 and R_MIPS_GNU_REL_LO16,
+       and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.  Change rightshift
+       to 16 for R_MIPS_HI16 and R_MIPS_GNU_REL_HI16.
+       (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
+       (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
+       (_bfd_mips_elf32_gprel16_reloc): Remove special case.
+       (mips_elf_gprel32_reloc, mips32_64bit_reloc): Likewise.
+
+       * elf64-mips.c (mips_elf64_howto_table_rel): Replace all uses of
+       mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.  Use
+       _bfd_mips_elf_hi16_reloc for R_MIPS_HI16, _bfd_mips_elf_lo16_reloc
+       for R_MIPS_LO16 and _bfd_mips_elf_got16_reloc for R_MIPS_GOT16.
+       Change R_MIPS_HI16's rightshift to 16.
+       (mips_elf64_howto_table_rela): Replace all uses of
+       mips_elf_generic_reloc with _bfd_mips_elf_generic_reloc.
+       Use _bfd_mips_elf_generic_reloc for R_MIPS_GOT16 as well.
+       (mips_elf64_hi16_reloc, mips_elf64_got16_reloc): Delete.
+       (mips_elf64_shift6_reloc): Remove special case.  Use
+       _bfd_mips_elf_generic_reloc instead of returning bfd_reloc_continue.
+
+       * elfn32-mips.c (prev_reloc_section): Delete.
+       (prev_reloc_address, prev_reloc_addend): Delete.
+       (elf_mips_howto_table_rel, elf_mips_howto_table_rela): As for
+       elf64-mips.c
+       (GET_RELOC_ADDEND, SET_RELOC_ADDEND): Delete.
+       (mips_elf_generic_reloc, struct mips_hi16, mips_elf_hi16_reloc)
+       (mips_elf_lo16_reloc, mips_elf_got16_reloc): Delete.
+       (mips_elf_gprel16_reloc): Delete use of GET_RELOC_ADDEND.
+       (mips_elf_literal_reloc, mips_elf_gprel32_reloc): Likewise.
+       (mips16_jump_reloc, mips16_gprel_reloc): Likewise.
+       (mips_elf_shift6_reloc): Likewise.  Delete use of SET_RELOC_ADDEND.
+
+       * elfxx-mips.c (_bfd_mips_elf_gprel16_with_gp): Use
+       _bfd_relocate_contents to install an in-place addend.
+       (mips_hi16): New structure.
+       (mips_hi16_list): Moved from elf32-mips.c.
+       (_bfd_mips_elf_hi16_reloc, _bfd_mips_elf_got16_reloc): New functions.
+       (_bfd_mips_elf_lo16_reloc, _bfd_mips_elf_generic_reloc): New functions.
+       (mips_elf_calculate_relocation): Assume addend is unshifted.
+       (_bfd_mips_elf_relocate_section): Don't apply the howto rightshift
+       on top of the usual high-part shift.  Don't shift the addend right
+       before calling mips_elf_calculate_relocation.
+
+       * elfxx-mips.h (_bfd_mips_elf_hi16_reloc): Declare.
+       (_bfd_mips_elf_got16_reloc, _bfd_mips_elf_lo16_reloc): Declare.
+       (_bfd_mips_elf_generic_reloc): Declare.
+
+2003-12-16  Eric Youngdale  <eric@mkssoftware.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       * peicode.h (pe_ILF_build_a_bfd): Only skip one instance of each
+       prefix character, if they are present.
+
+2003-12-15  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
+           Nick Clifton  <nickc@redhat.com>
+
+       * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Ensure that correct flags
+       are set on known section types.
+       
+2003-12-12  Nick Clifton  <nickc@redhat.com>
+
+       * po/ro.po: Updated translation.
+
+2003-12-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Check for
+       NULL dyn_h.
+
+2003-12-11  Nick Clifton  <nickc@redhat.com>
+
+       * elf.c (INCLUDE_SECTION_IN_SEGMENT): Skip PT_GNU_STACK segments.
+
+2003-12-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.h, elfxx-mips.c, cpu-mips.c: Convert prototypes.
+       Remove casts that were only needed for K&R compatibility.
+
+2003-12-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (struct elf_backend_data): Remove "bfd *" and add
+       "elflink_hash_entry *" param to elf_backend_link_output_symbol_hook.
+       Add "elflink_hash_entry *" param to elf_backend_output_arch_syms.
+       * elflink.h (elf_link_output_sym): Add "elflink_hash_entry *" param,
+       and pass to output_symbol_hook.
+       (elf_bfd_final_link): Adjust elf_link_output_sym calls.
+       (elf_link_output_extsym): Likewise.
+       (elf_link_input_bfd): Likewise.
+       * elf32-sh64.c (sh64_elf_link_output_symbol_hook): Adjust.
+       * elf32-v850.c (v850_elf_link_output_symbol_hook): Likewise.
+       * elf64-mmix.c (mmix_elf_link_output_symbol_hook): Likewise.
+       * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_link_output_symbol_hook): Likewise.
+       * elfxx-mips.h (_bfd_mips_elf_link_output_symbol_hook): Likewise.
+       * elf64-sparc.c (sparc64_elf_output_arch_syms): Likewise.
+       * elf64-hppa.c (elf64_hppa_link_output_symbol_hook): Likewise.
+       Validate dynh->h against h.
+       * elf64-ppc.c (struct ppc_link_hash_entry): Add adjust_done bitfield.
+       (link_hash_newfunc): Init it.
+       (adjust_opd_syms): New function.
+       (ppc64_elf_edit_opd): Set adjust_done when global .opd sym adjusted.
+       Set opd.adjust for all .opd relocs.  Call adjust_opd_syms.
+       (ppc64_elf_tls_optimize): Adjust possible .opd sym values here.
+       (ppc64_elf_relocate_section): Also adjust syms not a multiple of 24.
+       (ppc64_elf_output_symbol_hook): New function.
+       (elf_backend_link_output_symbol_hook): Define.
+
+2003-12-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
+       Remove casts that were only needed for K&R compatibility.
+
+2003-12-05  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
+
+       * coff-arm.c (aoutarm_std_reloc_howto [ARM_WINCE]): Set
+       partial_inplace for these relocs to FALSE for comptability with
+       the MS linker.
+       Remap ARM_26D relocation from 5 to 0. This fixes "bad fixup" error
+       generated by MS linker, and brings the relocation in line the MS
+       PE documentation.
+
+2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.
+
+2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Use the
+       need_relax_finalize field in link_info instead of
+       relax_finalizing to check if the relax finalize pass is being
+       done.
+
+2003-12-04  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
+
+       * coff-arm.c (coff_arm_relocate_section, bfd_arm_process_before_allocation):
+       Change ARM26* to ARM_26* in comments to match definitions.
+       (coff_arm_adjust_symndx): Replace hard-coded constants with
+       appropriate definitions (ARM_26*).
+
+2003-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
+       * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
+       (mn10300_elf_relax_section): Likewise.
+       * nlm32-alpha.c (ONES): Define.
+       (nlm32_alpha_howto_table): Use it to avoid warnings.
+
+2003-12-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-i386.c (elf_i386_object_p): Delete.
+       (elf_backend_object_p): Don't define.
+       * elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
+       * elf32-sh.c (sh_elf_object_p): Likewise.
+       * elf32-sparc.c (elf32_sparc_object_p): Likewise.
+       * elf64-alpha.c (elf64_alpha_object_p): Likewise.
+       * elf64-s390.c (elf_s390_object_p): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.
+
+2003-12-03  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
+
+       * archures.c (bfd_mach_m32r2): Add new machine type.
+       * bfd-in2.h: Regenerate.
+       * cpu-m32r.c : Add new machine type.
+       * elf32-m32r.c (m32r_elf_object_p, m32r_elf_final_write_processing,
+        m32r_elf_merge_private_bfd_data): Add support for new machine
+       type.
+
+2003-12-03  Dave Airlie  <airlied@linux.ie>
+
+       * config.bfd: Add vax-linux-gnu target.
+       * configure.in: Likewise.
+       * configure: Regenerate.
+
+2003-12-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * ecoff.c (ecoff_link_add_archive_symbols): Update for renamed
+       bfd_link_hash_entry field "next" -> "und_next".
+       * linker.c (_bfd_link_hash_newfunc): Likewise.
+       (bfd_link_add_undef): Likewise.
+       (_bfd_generic_link_add_archive_symbols): Likewise.
+       (_bfd_generic_link_add_one_symbol): Likewise.
+       * xcofflink.c (xcoff_link_add_symbols): Likewise.
+
+2003-12-02  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (ALL_LINGUAS): Add ro.
+       * po/ro.po: New Romanian translation.
+
+2003-12-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2003-12-01  Dmitry Semyonov  <Dmitry.Semyonov@oktet.ru>
+
+       * coffcode.h (coff_compute_section_file_positions): Set page_size
+       to 1 instead of 0 in the case file alignment value is zero.
+
+2003-12-01  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * coff-rs6000.c: Remove ARGSUSED and VARARGS.
+       * coff64-rs6000.c: Likewise.
+       * coffcode.h: Likewise.
+       * elf32-vax.c: Likewise.
+       * hash.c: Likewise.
+       * hppabsd-core.c: Likewise.
+       * hpux-core.c: Likewise.
+       * ihex.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * osf-core.c: Likewise.
+       * pdp11.c: Likewise.
+       * ptrace-core.c: Likewise.
+       * sco5-core.c: Likewise.
+       * section.c: Likewise.
+       * sunos.c: Likewise.
+       * trad-core.c: Likewise.
+
+2003-12-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (is_elf_hash_table): Take hash tab rather than info arg.
+       * elf.c (_bfd_elf_merge_sections): Adjust to suit.
+       (_bfd_elf_link_just_syms): Likewise.
+       (bfd_elf_get_needed_list): Likewise.
+       (bfd_elf_get_runpath_list): Likewise.
+       (_bfd_elf_link_hash_copy_indirect): Remove unneeded parens.
+       * elf32-hppa.c (elf32_hppa_setup_section_lists): Don't check hash tab
+       creator flavour.
+       (elf32_hppa_set_gp): Look up output sections rather than using htab.
+       * elf32-i960.c: Comment fix.  Formatting.
+       * elf32-m32r.c (m32r_elf_add_symbol_hook): Use is_elf_hash_table
+       rather than testing creator flavour.
+       * elf32-sh64.c (sh64_elf_add_symbol_hook): Likewise.
+       * elf64-sh64.c (sh64_elf64_add_symbol_hook): Likewise.
+       * elflink.c (_bfd_elf_link_create_dynamic_sections): Adjust for
+       is_elf_hash_table change.  Remove redundant test.
+       (bfd_elf_record_link_assignment): Use is_elf_hash_table rather than
+       testing creator flavour.
+       (elf_link_record_local_dynamic_symbol): Adjust for is_elf_hash_table.
+       (_bfd_elf_fix_symbol_flags): Likewise.
+       (_bfd_elf_adjust_dynamic_symbol): Likewise.
+       * elflink.h (elf_link_add_object_symbols): Likewise.  Remove redundant
+       checks.  Use is_elf_hash_table rather than testing creator flavour.
+       Use hash_table throughout in place of info->hash.
+       (elf_add_dynamic_entry): Adjust for is_elf_hash_table change.
+       (NAME(bfd_elf,size_dynamic_sections)): Likewise.  Remove redundant
+       check.
+       (elf_bfd_final_link): Adjust for is_elf_hash_table change.
+       (elf_link_check_versioned_symbol): Use is_elf_hash_table rather than
+       testing creator flavour.
+       (elf_gc_sections): Add is_elf_hash_table check.
+       (elf_gc_common_finalize_got_offsets): Likewise.
+       (elf_bfd_discard_info): Adjust for is_elf_hash_table change.  Remove
+       redundant check.
+       * elfxx-ia64.c (elfNN_ia64_relax_section): Use is_elf_hash_table
+       rather than testing creator flavour.
+
+2003-11-28  Christian Groessler  <chris@groessler.org>
+
+       * cpu-z8k.c: Convert to ISO C90.
+       * coff-z8k.c: Likewise.
+
+2003-11-27  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-bfd.h (elf_backend_data::elf_backend_modify_segment_map):
+       Add link info argument.
+       * elf32-i370.c (elf_backend_modify_segment_map): Likewise.
+       * elf32-ppc.c (ppc_elf_modify_segment_map): Likewise.
+       * elf32-xtensa.c (elf_xtensa_modify_segment_map): Likewise.
+       * elf64-hppa.c (elf64_hppa_modify_segment_map): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_modify_segment_map): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Likewise.
+       * elfxx-mips.h (_bfd_mips_elf_modify_segment_map): Likewise.
+       * elf.c (assign_file_positions_except_relocs,
+       assign_file_positions_for_segments): Likewise.  Adjust calls.
+
+2003-11-27  Mark Kettenis  <kettenis@gnu.org>
+
+       * elf.c (elfcore_grok_netbsd_procinfo): Make a pseudosection out
+       of the note.
+
+2003-11-26  Daniel Jacobowitz  <drow@mvista.com>
+           Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_set_global_got_offset): Don't set no_fn_stub.
+       (mips_elf_set_no_stub): New function.
+       (mips_elf_multi_got): Call it.
+       (_bfd_mips_elf_finish_dynamic_symbol): If a relocation is needed for
+       a secondary GOT entry, create an R_MIPS_32 or R_MIPS_64 relocation and
+       use mips_elf_create_dynamic_relocation to deal with any compatibility
+       issues.  Store the adjusted addend in the GOT slot.
+
+2003-11-25  Mattias EngdegĂ„rd  <mattias@virtutech.se>
+
+       * stabs.c (_bfd_link_section_stabs): Skip N_EXCL stabs when
+       procesing N_BINCL stabs.
+
+2003-11-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_type_of_stub): Disallow stubs other than
+       ppc_stub_plt_call to symbols defined in shared libs.
+
+2003-11-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf-bfd.h (ELF_LINK_POINTER_EQUALITY_NEEDED): Define new flag.
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Copy it.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
+       (elf_i386_check_relocs): Set it.
+       (elf_i386_finish_dynamic_symbol): If it is not set,
+       clear st_value of SHN_UNDEF symbol.
+
+2003-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * cpu-powerpc.c (powerpc_compatible): Any ISA in the PowerPC
+       family is a superset of <bfd_arch_rs6000,bfd_mach_rs6k>.
+
+2003-11-20  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Don't recalculate symbol
+       section for reloc output and subtract the output section's address
+       from the addend when converting a relocation into one against a
+       section symbol.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+
+2003-11-18  James E Wilson  <wilson@specifixinc.com>
+
+       * elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
+       (elfNN_ia64_size_dynamic_sections): When stripping sections, check
+       for ia64_info->rel_fptr_sec.
+
+2003-11-18  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (toc_adjusting_stub_needed): Exit early if section
+       size is zero.
+
+2003-11-17  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf.c (_bfd_elf_link_hash_copy_indirect): Copy
+       ELF_LINK_HASH_NEEDS_PLT.  Fix formatting.
+       * elf32-hppa.c (elf32_hppa_copy_indirect_symbol): Likewise.
+       * elf32-i386.c (elf_i386_copy_indirect_symbol): Likewise.
+       * elf32-ppc.c (ppc_elf_copy_indirect_symbol): Likewise.
+       * elf32-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf32-sh.c (sh_elf_copy_indirect_symbol): Likewise.
+       * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
+       * elf64-s390.c (elf_s390_copy_indirect_symbol): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_copy_indirect_symbol): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Likewise.
+       * elf32-xtensa.c (elf_xtensa_copy_indirect_symbol): Remove.
+       (elf_backend_copy_indirect_symbol): Don't define.
+
+2003-11-14  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
+       GOT entries.
+
+2003-11-13  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32
+       to R_390_RELATIVE. Convert the other relocations against local
+       symbols to relocations against the start of the section.
+       * elf64-s390.c (elf_s390_relocate_section): Only convert R_390_64
+       to R_390_RELATIVE. Convert the other relocations against local
+       symbols to relocations against the start of the section.
+
+2003-11-11  Nick Clifton  <nickc@redhat.com>
+
+       * elf-m10300.c (bfd_mn10300_elf_size_dynamic_sections): Use
+       info->executable not info->shared to decide if a .interp section
+       should be present.
+       * elf32-arm.h (elf32_arm_size_dynamic_sections): Likewise.
+       * elf32-cris.c (elf_cris_size_dynamic_sections): Likewise.
+       * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
+       * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
+       * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
+       * elf32-vax.c (elf_vax_size_dynamic_sections): Likewise.
+       * elf32-xtensa.c (elf_xtensa_size_dynamic_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
+       * elfxx-mips.c (_bfd_mips_size_dynamic_sections): Likewise.
+       * elflink.h (size_dynamic_sections): Likewise.
+
+2003-11-10  Jonathan Wilson <jonwil@tpgi.com.au>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Swap out tls pointer.
+       (_bfd_XXi_final_link_postscript): Look for __tks_used symbol.  If
+       found initialise the tls data directory entry.
+
+2003-11-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_install_value): Delete.
+       (shared_stub_entry, stub_entry): Make them arrays of ints.
+       Remove initial branch.
+       (ppc_elf_relax_section): Write one branch around all trampolines
+       instead.  Correct bogus R_PPC_PLTREL24 handling.  Correct
+       branch range check.  Only use shared_stub_entry when shared.
+       Test that branches can reach stubs.  Write trampolines out at
+       end so that just one realloc is used.  Handle little-endian
+       mode.  Move relevant code from ppc_elf_install_value to here.
+       (ppc_elf_relocate_section): Move code handling RELAX32 from
+       ppc_elf_install_value to here.
+
+2003-11-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_howto_raw); Add entry for R_PPC_RELAX32PC.
+       (ppc_elf_install_value): Handle R_PPC_RELAX32PC.  Merge duplicate
+       cases.
+       (shared_stub_entry): Correct opcode.
+       (ppc_elf_relax_section): Generate R_PPC_RELAX32PC relocs.
+       (ppc_elf_relocate_section): Handle them.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (_bfd_elf_rela_local_sym): Accept asection **, and return
+       updated section in case of merged section.
+       * elf-bfd.h (_bfd_elf_rela_local_sym): Update declaration.
+       * elf-hppa.h (elf_hppa_relocate_section): Adjust call.
+       * elf-m10200.c (mn10200_elf_relocate_section): Likewise.
+       * elf-m10300.c (mn10300_elf_relocate_section): Likewise.
+       * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+       * elf32-avr.c (elf32_avr_relocate_section): Likewise.
+       * elf32-cris.c (cris_elf_relocate_section): Likewise.
+       * elf32-fr30.c (fr30_elf_relocate_section): Likewise.
+       * elf32-frv.c (elf32_frv_relocate_section): Likewise.
+       * elf32-h8300.c (elf32_h8_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-i860.c (elf32_i860_relocate_section): Likewise.
+       * elf32-m32r.c (m32r_elf_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mcore.c (mcore_elf_relocate_section): Likewise.
+       * elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
+       * elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-v850.c (v850_elf_relocate_section) Likewise.
+       * elf32-vax.c (elf_vax_relocate_section): Likewise.
+       * elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-mmix.c (mmix_elf_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_relocate_section): Likewise.
+       * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
+
+       * elf32-cris.c (cris_elf_relocate_section): Don't recalculate symbol
+       section for reloc output.
+       * elf32-i370.c (i370_elf_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-vax.c (elf_vax_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+
+       * elf32-ppc.c (ppc_elf_relocate_section): Don't recalculate everything
+       for R_PPC_RELAX32 reloc.  Don't bother checking ppc_elf_install_value
+       return value.
+       * elf64-ppc.c (ppc64_elf_relocate_section <R_PPC64_TOC>): Sanity check
+       sec->id.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-d10v.c (extract_rel_addend, insert_rel_addend): New functions.
+       (elf32_d10v_relocate_section): Use them to handle -r reloc
+       adjustments, and in place of _bfd_elf_rela_local_sym.
+
+       * cpu-iq2000.c (arch_info_struct): Warning fix.
+
+2003-11-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-hppa.c (ELIMINATE_COPY_RELOCS): Define.
+       (elf32_hppa_copy_indirect_symbol): Don't copy NON_GOT_REF on
+       weakdefs.
+       (elf32_hppa_check_relocs): Use ELIMINATE_COPY_RELOCS.
+       (elf32_hppa_adjust_dynamic_symbol): Likewise.  Copy weakdef
+       NON_GOT_REF.
+       (allocate_dynrelocs): Use ELIMINATE_COPY_RELOCS and
+       SYMBOL_CALLS_LOCAL.  Discard relocs for undef weak syms with
+       non-default visibility.
+       (elf32_hppa_relocate_section): Use ELIMINATE_COPY_RELOCS and
+       SYMBOL_CALLS_LOCAL.
+
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.
+       * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto.
+       * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto.
+       * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto.
+       * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto.
+       * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto.
+       * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.
+
+       * elf-m10300.c (_bfd_mn10300_elf_create_got_section): Fix
+       "dereferencing type-punned pointer" warnings.
+
+       * aout-adobe.c (aout_adobe_set_section_contents): Constify location.
+       * aoutx.h (NAME(aout,set_section_contents)): Ditto.
+       * bfd-in2.h: Regenerate.
+       * binary.c (binary_set_section_contents): Ditto.
+       * bout.c (b_out_set_section_contents): Ditto.
+       * coff-tic54x.c (tic54x_set_section_contents): Ditto.
+       * coffcode.h (coff_set_section_contents): Ditto.
+       * ecoff.c (_bfd_ecoff_set_section_contents): Ditto.
+       * elf-bfd.h (_bfd_elf_set_section_contents): Ditto.
+       * elf.c (_bfd_elf_set_section_contents): Ditto.
+       * elfxx-mips.c (_bfd_mips_elf_set_section_contents): Ditto.
+       * elfxx-mips.h (_bfd_mips_elf_set_section_contents): Ditto.
+       * i386msdos.c (msdos_set_section_contents): Ditto.
+       * ieee.c (ieee_set_section_contents): Ditto.
+       * ihex.c (ihex_set_section_contents): Ditto.
+       * libaout.h (NAME(aout,set_section_contents)): Ditto.
+       * libbfd-in.h (_bfd_nowrite_set_section_contents): Ditto.
+       (_bfd_generic_set_section_contents): Ditto.
+       * libbfd.h: Regenerate.
+       * libbfd.c (_bfd_generic_set_section_contents): Ditto.
+       * libecoff.h (_bfd_ecoff_set_section_contents): Ditto.
+       * libnlm.h (nlmNAME(set_section_contents)): Ditto.
+       (struct nlm_backend_data <nlm_mangle_relocs>): Ditto.
+       * mmo.c (mmo_set_section_contents): Ditto.
+       * nlm32-alpha.c (nlm_alpha_mangle_relocs): Ditto.
+       * nlm32-i386.c (nlm_i386_mangle_relocs): Ditto.
+       * nlm32-ppc.c (nlm_powerpc_mangle_relocs): Ditto.
+       * nlm32-sparc.c (nlm_sparc_mangle_relocs): Ditto.
+       * nlmcode.h (nlm_set_section_contents): Ditto.
+       * oasys.c (oasys_set_section_contents): Ditto.
+       * pdp11.c (NAME(aout,set_section_contents)): Ditto.
+       * ppcboot.c (ppcboot_set_section_contents): Ditto.
+       * srec.c (srec_set_section_contents): Ditto.
+       * targets.c (BFD_JUMP_TABLE_WRITE <_bfd_set_section_contents>): Ditto.
+       * tekhex.c (tekhex_set_section_contents): Ditto.
+       (move_section_contents): Ditto.
+       * versados.c (versados_set_section_contents): Ditto.
+       * vms-misc.c (_bfd_save_vms_section): Ditto.
+       * vms.c (vms_set_section_contents): Ditto.
+       * vms.h (_bfd_save_vms_section): Ditto.
+
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_size_one_stub): Size relbrlt.  Accept info arg
+       rather than htab.
+       (ppc64_elf_size_stubs): Adjust ppc_size_one_stub traversal.  Zero
+       relbrlt size.
+       (ppc64_elf_build_stubs): Allocate space for relbrlt.
+
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * bfd-in.h (_bfd_elf_tls_setup): Declare.
+       * bfd-in2.h: Regenerate.
+       * elf-bfd.h (struct elf_link_tls_segment): Delete.
+       (struct elf_link_hash_table): Add tls_sec and tls_size.
+       * elf.c (_bfd_elf_link_hash_table_init): Init tls_sec and tls_size.
+       * elflink.c (_bfd_elf_tls_setup): New function.
+       * elflink.h (struct elf_final_link_info): Remove first_tls_sec.
+       (elf_bfd_final_link): Don't set first_tls_sec here.  Update code
+       saving tls segment info, round segment size up.
+       (elf_link_output_extsym): Adjust code using tls segment info.
+       (elf_link_input_bfd): Likewise.
+       * elf32-i386.c (dtpoff_base, tpoff): Likewise.
+       * elf32-s390.c (dtpoff_base, tpoff): Likewise.
+       * elf32-sh.c (dtpoff_base, tpoff): Likewise.
+       * elf32-sparc.c (dtpoff_base, tpoff): Likewise.
+       * elf64-s390.c (dtpoff_base, tpoff): Likewise.
+       * elf64-x86-64.c (dtpoff_base, tpoff): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_tprel_base): Likewise.
+       (elfNN_ia64_dtprel_base): Likewise.
+       * elf64-alpha.c (alpha_get_dtprel_base): Likewise.
+       (alpha_get_tprel_base): Likewise.
+       (struct alpha_relax_info): Remove tls_segment.
+       (elf64_alpha_relax_got_load): Adjust invocation of
+       alpha_get_dtprel_base and alpha_get_tprel_base.
+       (elf64_alpha_relax_tls_get_addr): Likewise.
+       (elf64_alpha_relax_section): Likewise.
+       (elf64_alpha_relocate_section): Likewise.
+       (elf64_alpha_relax_find_tls_segment): Delete.
+       * elf32-ppc.c (struct ppc_elf_link_hash_table): Remove tls_sec.
+       (ppc_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
+       (ppc_elf_relocate_section): Adjust to use elf.tls_sec.
+       * elf32-ppc.h (ppc_elf_tls_setup): Update.
+       * elf64-ppc.c (struct ppc_link_hash_table): Remove tls_sec.
+       (ppc64_elf_tls_setup): Call _bfd_elf_tls_setup.  Return section.
+       (ppc64_elf_tls_optimize): Adjust to use elf.tls_sec.
+       (ppc64_elf_relocate_section): Likewise.
+       * elf64-ppc.h (ppc64_elf_tls_setup): Update.
+
+2003-11-03  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf-bfd.h (struct elf_backend_data): Remove plt_header_size.
+       * elf-m10300.c (elf_backend_plt_header_size): Don't define.
+       * elf32-arm.h (elf_backend_plt_header_size): Don't define.
+       * elf32-cris.c (elf_backend_plt_header_size): Don't define.
+       * elf32-i386.c (elf_backend_plt_header_size): Don't define.
+       * elf32-mips.c (elf_backend_plt_header_size): Don't define.
+       * elf32-ppc.c (elf_backend_plt_header_size): Don't define.
+       * elf32-s390.c (elf_backend_plt_header_size): Don't define.
+       * elf32-sh.c (elf_backend_plt_header_size): Don't define.
+       * elf32-sparc.c (elf_backend_plt_header_size): Don't define.
+       * elf64-alpha.c (elf_backend_plt_header_size): Don't define.
+       * elf64-hppa.c (elf_backend_plt_header_size): Don't define.
+       * elf64-mips.c (elf_backend_plt_header_size): Don't define.
+       * elf64-ppc.c (elf_backend_plt_header_size): Don't define.
+       * elf64-s390.c (elf_backend_plt_header_size): Don't define.
+       * elf64-sh64.c (elf_backend_plt_header_size): Don't define.
+       * elf64-sparc.c (elf_backend_plt_header_size): Don't define.
+       * elf64-x86-64.c (elf_backend_plt_header_size): Don't define.
+       * elfn32-mips.c (elf_backend_plt_header_size): Don't define.
+       * elfxx-ia64.c (elf_backend_plt_header_size): Don't define.
+       * elfxx-target.h (elf_backend_plt_header_size): Don't define
+       or include in target initializer.
+
+2003-11-03  Andrew Cagney  <cagney@redhat.com>
+
+       * section.c (bfd_set_section_contents): Make the "location" buffer
+       constant.
+       * bfd-in2.h: Re-generate.
+
+2003-10-30  Andrew Cagney  <cagney@redhat.com>
+
+       * syms.c: Replace "struct symbol_cache_entry" with "struct
+       bfd_symbol".
+       * vms.h, targets.c, section.c, reloc.c, peicode.h: Ditto.
+       * mipsbsd.c, elf.c, linker.c, elf-bfd.h, ecoff.c: Ditto.
+       * cpu-z8k.c, cpu-ns32k.c, cpu-h8500.c, bfd.c, bfd-in.h: Ditto.
+       * bfd-in2.h: Re-generate.
+
+2003-10-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c: Include objalloc.h, hashtab.h.
+       (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym
+       fields.
+       (struct elfNN_ia64_local_hash_table): Remove.
+       (struct elfNN_ia64_link_hash_table): Change loc_hash_table's type
+       to htab_t.  Add loc_hash_memory field.
+       (elfNN_ia64_local_hash_table_init, elfNN_ia64_new_loc_hash_entry):
+       Removed.
+       (elfNN_ia64_local_htab_hash, elfNN_ia64_local_htab_eq): New
+       functions.
+       (elfNN_ia64_hash_table_create): Use hashtab.h hashtable for
+       loc_hash_table.  Initialize loc_hash_memory.
+       (elfNN_ia64_hash_table_free): New function.
+       (elfNN_ia64_local_hash_lookup): Remove.
+       (elfNN_ia64_local_dyn_sym_thunk): Change into htab_traverse
+       callback.
+       (elfNN_ia64_dyn_sym_traverse): Use htab_traverse.
+       (get_local_sym_hash): Use hashtab.h hashtable for loc_hash_table.
+       (bfd_elfNN_bfd_link_hash_table_free): Define.
+
+2003-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Modify versioned
+       symbol string in place.
+
+2003-10-30  Jim Blandy  <jimb@redhat.com>
+
+       * cpu-rs6000.c (rs6000_compatible): Check the correct arch_info
+       object's mach field: all PowerPC machines are supersets of the
+       original rs6000, but not later rs6000 machines.
+
+2003-10-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2.c (struct attribute): Delete "unsnd", "snd" and "addr".
+       Add "val" and "sval" fields.
+       (DW_STRING, DW_UNSND, DW_BLOCK, DW_SND, DW_ADDR): Delete.
+       (read_attribute_value): Expand and adjust DW_* occurrences.
+       (scan_unit_for_functions, parse_comp_unit): Likewise.
+
+2003-10-30  Phil Edwards  <phil@codesourcery.com>
+
+       * config.bfd (arm-*-vxworks):  Remove separate stanza; merge with
+       other common ELF triples.
+       (i[3-7]86-*-vxworks):  Change to ELF format.
+       (mips*-*-windiss):  New triple, add to common MIPS/ELF stanza.
+       (sh-*-vxworks):  New stanza.
+
+2003-10-30  Lars Knoll  <lars@trolltech.com>
+           Michael Matz  <matz@suse.de>
+           Jakub Jelinek  <jakub@redhat.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * merge.c (struct sec_merge_sec_info): Update comment.
+       (struct sec_merge_hash_entry): Remove entsize.
+       (sec_merge_hash_lookup): Only adjust alignment when creating.
+       (sec_merge_emit): Remove register keyword.
+       (cmplengthentry, last4_eq, last_eq): Delete.
+       (strrevcmp, strrevcmp_align, is_suffix): New.
+       (merge_strings): Use them to implement fast suffix merging.
+       * elf-strtab.c (struct elf_strtab_hash_entry): Update comments.
+       Make "len" signed.
+       (_bfd_elf_strtab_add): Lose on >2G strings.
+       (_bfd_elf_strtab_emit): Don't emit strings with len < 0.
+       (cmplengthentry, last4_eq): Delete.
+       (strrevcmp, is_suffix): New.
+       (_bfd_elf_strtab_finalize): Rework to implement fast suffix merging.
+
+2003-10-29  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Move check for
+       SEC_ALLOC.
+
+2003-10-29  Philip Blundell  <philb@gnu.org>
+
+       * elf32-arm.h (elf32_arm_plt0_entry, elf32_arm_plt_entry): New
+       code sequence.
+       (PLT_HEADER_SIZE): New.
+       (struct elf32_arm_pcrel_relocs_copied): Rename to ...
+       (struct elf32_arm_relocs_copied): ... this.  Count both
+       pcrel and non-pcrel relocs.  All uses updated.
+       (struct elf32_arm_link_hash_table): Add pointers to dynamic linker
+       sections and symbol/section mapping cache.
+       (create_got_section): New.
+       (elf32_arm_create_dynamic_sections): New.
+       (elf_backend_create_dynamic_sections): Use it.
+       (elf32_arm_final_link_relocate): Support garbage collection of relocs.
+       (elf32_arm_check_relocs): Likewise.
+       (elf32_arm_adjust_dynamic_symbol): Likewise.
+       (elf32_arm_copy_indirect_symbol): New.
+       (elf32_arm_link_hash_table_create): Initialise new fields.
+       (elf32_arm_gc_sweep_hook): Implement.
+       (elf32_arm_discard_copies): Delete.
+       (elf32_arm_finish_dynamic_symbol): Use new PLT code.
+       (elf32_arm_finish_dynamic_sections): Likewise.
+       (elf_backend_can_refcount): Define.
+       (elf_backend_copy_indirect_symbol): Likewise.
+       (elf_backend_plt_header_size): Set to PLT_HEADER_SIZE.
+
+2003-10-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (elf_backend_grok_prstatus): Define.
+       (elf_backend_grok_psinfo): Define.
+       (ppc64_elf_grok_prstatus, ppc64_elf_grok_psinfo): New functions.
+
+       * elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
+       sections with the same name.
+       (elfcore_grok_lwpstatus): Likewise.
+       (elfcore_grok_win32pstatus): Likewise.
+       (elfcore_grok_note): Likewise.
+       (elfcore_grok_nto_status): Likewise.
+       (elfcore_grok_nto_gregs): Likewise.
+
+2003-10-27  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
+       objects.
+
+2003-10-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
+
+2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
+       hash table for real symbols.
+
+2003-10-23  Michael Snyder  <msnyder@redhat.com>
+
+       * section.c (asection): Fix typo in comment.
+
+2003-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (get_tls_mask): Add toc_symndx param, save toc
+       reloc symbol index to it.  Don't allow gd syms in shared libs
+       to be optimized.
+       (ppc64_elf_tls_optimize): Adjust get_tls_mask call.
+       (ppc64_elf_size_stubs): Likewise.
+       (ppc64_elf_relocate_section): Check that tls relocs are only used
+       with tls syms, and similarly for non-tls.  Correct symbol used
+       when optimizing toc tls code.
+
+2003-10-22  Nick Clifton  <nickc@redhat.com>
+
+       * peicode.h (coff_swap_scnhdr_in): Only remove padding when
+       processing an executable.
+
+2003-10-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * elflink.c (_bfd_elf_export_symbol): Adjust for globals and locals
+       field changes.
+       (_bfd_elf_link_assign_sym_version): Likewise.
+       * elflink.h (size_dynamic_sections): Likewise.
+
+2003-10-21  Alexandre Oliva  <aoliva@redhat.com>,
+           Michael Snyder  <msnyder@redhat.com>
+
+       * archures.c (bfd_mach_sh4a, bfd_mach_sh4al_dsp, bfd_mach_sh4_nofpu,
+       bfd_mach_sh4a_nofpu): New machine types.
+       * bfd-in2.h: Rebuilt.
+       * cpu-sh.c (compatible): Remove unused function.
+       (SH4A_NEXT, SH4AL_DSP_NEXT, SH4_NOFPU_NEXT, SH4A_NOFPU_NEXT): New.
+       (arch_info_struct): Add sh4a, sh4al_dsp, sh4-nofpu and sh4a-nofpu.
+       * elf32-sh.c (sh_elf_set_mach_from_flags): Handle them.
+
+2003-10-21  Wouter van Heyst <wouter@vidicode.nl>
+
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct text
+       describing mismatched formats involving the Maverick FP type.
+
+2003-10-21  Anil Paranjpe  <anilp1@KPITCummins.com>
+
+       * binary.c (binary_object_p): Pass machine flag along with
+       architecture.
+
+2003-10-21  Thorsten Brehm  <brehm@gmx.net>
+
+       * archures.c (bfd_default_scan): Add support for mcf528x.
+       * ieee.c (ieee_write_processor): Likewise.
+
+2003-10-21  Peter Barada  <pbarada@mail.wm.sps.mot.com>
+           Bernardo Innocenti  <bernie@develer.com>
+
+       * archures.c: Add MCF528x (MCFv4) support.
+       * bfd/cpu-m68k.c (arch_info_struct): Likewise.
+       * bfd-in2.h: Regenerate.
+
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * targets.c: Replace "struct sec" with "struct bfd_section"
+       * syms.c, sparclynx.c, section.c, opncls.c: Ditto.
+       * libcoff-in.h, libbfd-in.h, elfxx-target.h: Ditto.
+       * elf.c, coffgen.c, bfd.c, bfd-in.h, aoutf1.h: Ditto.
+       * aout-tic30.c, aout-target.h:
+       * bfd-in2.h, libcoff.h, libbfd.h: Regenerate.
+
+2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       Support linker relaxation of new R_MMIX_PUSHJ_STUBBABLE relocs.
+       * elf64-mmix.c (MAX_PUSHJ_STUB_SIZE): New macro.
+       (struct _mmix_elf_section_data): New member pjs.
+       (mmix_set_relaxable_size, mmix_elf_get_section_contents): New
+       functions.
+       (elf_mmix_howto_table): New entry for R_MMIX_PUSHJ_STUBBABLE.
+       (mmix_reloc_map): Ditto.
+       (mmix_elf_relocate_section): Handle R_MMIX_PUSHJ_STUBBABLE.
+       (mmix_final_link_relocate, mmix_elf_check_common_relocs): Ditto.
+       (mmix_elf_perform_relocation): Ditto.  Don't mark parameter addr
+       unused.
+       (mmix_elf_check_relocs): Move early return to after
+       mmix_elf_check_common_relocs call.
+       (mmix_elf_symbol_processing): Fix cut-and-pasto in head comment.
+       (_bfd_mmix_before_linker_allocation): Rename from
+       _bfd_mmix_prepare_linker_allocated_gregs.  All referers changed.
+       Arrange to set the initial relaxable size of sections.
+       (_bfd_mmix_after_linker_allocation): Rename from
+       _bfd_mmix_finalize_linker_allocated_gregs.
+       (mmix_elf_relax_section): Relax a R_MMIX_PUSHJ_STUBBABLE reloc.
+       (bfd_elf64_get_section_contents): Define.
+       * reloc.c: Add ENUMX for BFD_RELOC_MMIX_PUSHJ_STUBBABLE.
+       * libbfd.h, bfd-in2.h: Regenerate.
+
+       * reloc.c (bfd_generic_relax_section): Default-set
+       section->_cooked_size here.
+       (bfd_generic_get_relocated_section_contents): Don't set it here.
+       Explain why.
+
+2003-10-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Skip relocation if
+       output section has been discarded.
+
+2003-10-17  Shrinivas Atre  <shrinivasa@KPITCummins.com>
+
+       * coff-h8300.c (funcvec_hash_newfunc): Handle normal mode.
+       (h8300_reloc16_extra_cases): Likewise.
+       (h8300_bfd_link_add_symbols): Likewise.
+
+2003-10-17 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
+
+       * cpu-h8300.c (h8300sxn_info_struct): Correct address size.
+       (h8300sn_info_struct): Likewise.
+       (h8300hn_info_struct): Likewise.
+
+2003-10-16  Pavel Roskin  <proski@gnu.org>
+
+       * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Don't calculate image size
+       for sections which lack size info.
+
+2003-10-17  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * configure.host: Add __USE_MINGW_FSEEK to HDEFINES for
+        mingw32.
+
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
+       undefined patterns with '*'.
+
 2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
        elf_backend_merge_symbol_attribute.
        * elflink.h (elf_link_add_object_symbols): Adjust call to
        elf_backend_merge_symbol_attribute if the backend defined it.
-        * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
-        (elfNN_bed): Add that to the initializer.
+       * elfxx-target.h (elf_backend_merge_symbol_attribute): New macro.
+       (elfNN_bed): Add that to the initializer.
 
 2003-10-14  Bob Wilson  <bob.wilson@acm.org>
 
        * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
        dynamic relocation offsets.
 
-2003-09-23  Alan Modra  <alan@modra.org>
+2003-09-23  Alan Modra  <amodra@bigpond.net.au>
 
        * simple.c (bfd_simple_get_relocated_section_contents): Free the
        hash table using _bfd_generic_link_hash_table_free.
 
-2003-09-23  Alan Modra  <alan@modra.org>
+2003-09-23  Alan Modra  <amodra@bigpond.net.au>
 
        * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix".  Change
        type of prefix_length and suffix_length to int.  Rename "attributes"
 
 2003-05-04  H.J. Lu <hjl@gnu.org>
 
-       * elflink.h (elf_merge_symbol): Correctly handle weak definiton.
+       * elflink.h (elf_merge_symbol): Correctly handle weak definition.
 
 2003-05-04  H.J. Lu <hjl@gnu.org>
 
        * config.bfd: Added DLX configuraton.
        * Makefile.am: Added DLX configuraton.
        * configure.in: Added DLX configuraton.
-       * archures.c: Add DLX architecure.
+       * archures.c: Add DLX architecture.
        * reloc.c: Add DLX relocs.
        * targets.c: Added DLX target vector.
        * configure: Regenerate.
This page took 0.045191 seconds and 4 git commands to generate.