2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 4863d5d816ca68bc7721f4f3af60b7004013b14c..337c7c8c7a5ae39f58f36ae87cecae6586beccdb 100644 (file)
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
+       use the last CIE from a different section.
+       (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
+       size of the output section.
+
+2003-10-07  Roland McGrath  <roland@redhat.com>
+
+       * elf.c (_bfd_elf_make_section_from_phdr): Set alignment_power of
+       new section from p_align header field.
+
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-xtensa.c (xtensa_read_table_entries): The external size
+       of entry is 8 bytes.
+
+2003-10-15  Andrew Cagney  <cagney@redhat.com>
+
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Replace NAME##_get_symtab
+       with NAME##_canonicalize_symtab.
+       * libcoff-in.h (coff_canonicalize_symtab): Update.
+       * xsym.h (bfd_sym_canonicalize_symtab): Update.
+       * elf-bfd.h (_bfd_elf_canonicalize_symtab): Update.
+       * coffgen.c (coff_canonicalize_symtab): Update.
+       * libbfd-in.h (_bfd_nosymbols_canonicalize_symtab): Update.
+       * libnlm.h (nlmNAME(canonicalize_symtab)): Update.
+       * ieee.c (ieee_vec): Update comment.
+       * libecoff.h (_bfd_ecoff_canonicalize_symtab): Update.
+       * mmo.c (mmo_canonicalize_symtab): Update.
+       * nlm-target.h (nlm_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * i386msdos.c (msdos_canonicalize_symtab): Update.
+       * hp300hpux.c (MY (canonicalize_symtab)): Update.
+       * oasys.c (oasys_canonicalize_symtab): Update.
+       * som.c (som_canonicalize_symtab): Update.
+       * pef.c (bfd_pef_canonicalize_symtab): Update.
+       * nlmcode.h (nlm_canonicalize_symtab): Update.
+       * xsym.c (bfd_sym_canonicalize_symtab): Update.
+       * vms.c (vms_canonicalize_symtab): Update.
+       * versados.c (versados_canonicalize_symtab): Update.
+       * mach-o.c (bfd_mach_o_canonicalize_symtab): Update.
+       * ieee.c (ieee_canonicalize_symtab): Update.
+       * pdp11.c (NAME(aout,canonicalize_symtab)): Update.
+       * reloc.c: Update comment.
+       * libaout.h (NAME(aout,canonicalize_symtab)): Update.
+       * coff64-rs6000.c (aix5coff64_vec): Update.
+       * coff64-rs6000.c (bfd_xcoff_aix5_backend_data): Update.
+       * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Update.
+       * aoutx.h (NAME(aout,canonicalize_symtab)): Update.
+       * elfxx-target.h (bfd_elfNN_canonicalize_symtab): Update.
+       * hp300hpux.c (MY_canonicalize_symtab): Update.
+       * ecoff.c (_bfd_ecoff_canonicalize_symtab): Update.
+       * aout-tic30.c (MY_canonicalize_symtab): Update.
+       * aout-target.h (MY_canonicalize_symtab): Update.
+       * ppcboot.c (ppcboot_canonicalize_symtab): Update.
+       * elf.c (_bfd_elf_canonicalize_symtab): Update.
+       * elfcode.h (elf_canonicalize_symtab): Update.
+       * ihex.c (ihex_canonicalize_symtab): Update.
+       * tekhex.c (tekhex_canonicalize_symtab): Update.
+       * binary.c (binary_canonicalize_symtab): Update.
+       * srec.c (srec_canonicalize_symtab): Update.
+
+2003-10-15  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * elf32-h8300.c (elf_reloc_map): Fix a comment typo.
+
+2003-10-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_relocate_section): Handle R_SH_IMM_*_PCREL
+       relocations.
+       (sh_elf_check_relocs): Likewise.
+
+       * elf32-sh64.c (elf_backend_merge_symbol_attribute): Define.
+       (sh64_elf_merge_symbol_attribute): New.
+       * elf64-sh64.c (elf_backend_merge_symbol_attribute): Define.
+       (sh64_elf64_merge_symbol_attribute): New.
+
+2003-10-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf-bfd.h (struct elf_backend_data): New function pointer member
+       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.
+
+2003-10-14  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (get_is_linkonce_section): Delete.
+       (xtensa_is_property_section, xtensa_is_littable_section): Use
+       XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Do not recognize
+       linkonce sections containing ".xt.insn" and ".xt.lit" substrings.
+       (xtensa_get_property_section_name): Check section name instead of
+       calling get_is_linkonce_section.  Remove unused bfd parameter.  Use
+       XTENSA_INSN_SEC_NAME and XTENSA_LIT_SEC_NAME macros.  Never generate
+       linkonce section names by appending ".xt.insn" or ".xt.lit".
+       (xtensa_read_table_entries): Remove bfd argument in call to
+       xtensa_get_property_section_name.  Free section name when done.
+       (elf_xtensa_combine_prop_entries): Free leaking table.
+
+2003-10-13  Richard Sandiford  <rsandifo@redht.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_size_dynamic_sections): Don't add
+       DT_MIPS_LIBLIST or DT_MIPS_CONFLICT entries.
+       (_bfd_mips_elf_finish_dynamic_symbol): Don't handle them.  Don't
+       handle DT_MIPS_MSYM.  Set DT_RELSZ based on the number of relocations
+       that were needed.
+       (_bfd_mips_elf_modify_segment_map): Fix placement of PT_MIPS_OPTIONS.
+       (_bfd_mips_elf_merge_private_bfd_data): Ignore EF_MIPS_UCODE.
+
+2003-10-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype.
+       (bfd_elf64_ia64_after_parse): Likewise.
+       * bfd-in2.h: Regenerated.
+
+       * elfxx-ia64.c (oor_ip): New.
+       (oor_branch_size): Likewise.
+       (bfd_elfNN_ia64_after_parse): Likewise.
+       (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size
+       equals sizeof (oor_ip).
+
+2003-10-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for the
+       renumbering of some relocation numbers.
+
+2003-10-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * coff-sh.c: Move definition of MAP and guard more code with
+       COFF_IMAGE_WITH_PE.
+
+       * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.
+       * bfd-in2.h: Regenerate.
+
+2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Likewise.
+
+2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * cofflink.c: Include "safe-ctype.h".
+       (coff_link_add_symbols): Use ISDIGIT instead of isdigit.
+
+2003-10-08  Dave Brolley  <brolley@redhat.com>
+       On behalf of Michael Snyder  <msnyder@redhat.com>
+
+       * archures.c: Add FRV fr550 machine.
+       * cpu-frv.c: Ditto.
+       * elf32-frv.c: Ditto.
+       * bfd-in2.h: Regenerate.
+
+2003-10-08  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elfxx-mips.c (STUB_MOVE,STUB_LI16): Fix stub code
+       for non-SGI N64 ABI. Improve code consitency.
+
+2003-10-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf32-frv.c (elf32_frv_howto_table): Set R_FRV_LABEL16's
+       rightshift to 2.
+
+2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * libbfd-in.h (_bfd_link_section_stabs): Add string offset
+       parameter.
+       * cofflink.c (coff_link_add_symbols): Deal with split stab
+       sections.
+       * elflink.h (elf_link_add_object_symbols): Deal with split stab
+       sections.
+       * stabs.c (_bfd_link_section_stabs): Add string offset parameter.
+       * libbfd.h: Regenerated.
+
+       * coffcode.h (coff_set_alignment_hook): With PE_COFF reloc
+       overflow, set reloc start position to after the count
+       reloc. Subtract one from num relocs. Give error on 0xffff relocs
+       and no overflow.
+       * cofflink.c (_bfd_coff_final_link): Deal with PE_COFF reloc
+       overflow.
+       * peXXigen.c (_bfd_XXi_swap_scnhdr_out): Do overflow if >=
+       0xffff.
+
+2003-10-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
+       last CIE/FDE if needed.
+
+2003-10-06  Nick Clifton  <nickc@redhat.com>
+
+       * targets.c (_bfd_target_vector): Include bfd_elf64_sparc_vec if
+       BFD64 is enabled.
+
+2003-10-06  Matt Thomas <matt@3am-software.com>
+
+       * config.bfd: Move the hppa*-*-netbsd* case to the hppa*-*-linux* case.
+
+2003-10-06  Robert Millan  <robertmh@gnu.org>
+
+       * configure.in: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
+       * config.bfd: Likewise.
+       * configure: Regenerate.
+
+2003-10-04  Christian Groessler  <chris@groessler.org>
+
+       * coff-z8k.c (extra_case): Fix displacement length check for R_JR
+       and R_CALLR.
+
+2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
+       * elf32-m68hc11.c: Likewise.
+       * elf32-m68hc12.c: Likewise.
+       * elf32-m68hc1x.h: Likewise.
+
+2003-10-04  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
+       of flags between HC12 and HCS12.
+
+2003-10-04  Bryce McKinlay  <bryce@mckinlay.net.nz>
+
+       * merge.c (_bfd_merge_sections): Set SEC_EXCLUDE flag on sections
+       which become empty after merging.
+
+2003-09-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
+       R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.
+
+2003-09-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * archures.c (bfd_mach_mipsisa64r2): New define.
+       * bfd-in2.h: Regenerate.
+       * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
+       * cpu-mips.c (I_mipsisa64r2): New enum value.
+       (arch_info_struct): Add entry for I_mipsisa64r2.
+       * elfxx-mips.c (_bfd_elf_mips_mach)
+       (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
+       (mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
+       (mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.
+
+2003-09-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New.
+       Handle SHN_IA_64_ANSI_COMMON.
+       (elf_backend_section_from_bfd_section): Defined.
+
+2003-09-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (elf_link_read_relocs_from_section): Add an argument
+       of a pointer to section. Check bad symbol index.
+       (_bfd_elf_link_read_relocs): Modify calls to
+       elf_link_read_relocs_from_section.
+
+2003-09-23  DJ Delorie  <dj@redhat.com>
+
+       * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8,
+       R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
+       R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces,
+       R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U,
+       R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U,
+       R_SH_PSHA, R_SH_PSHL added.
+       (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8.
+       (sh_elf_relocate_section): Support new relocs.
+
+2003-09-23  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>
+
+       * 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>
+
+       * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix".  Change
+       type of prefix_length and suffix_length to int.  Rename "attributes"
+       to "attr".  Comment.
+       (_bfd_elf_get_sec_type_attr): Update prototype.
+       * elf.c (get_special_section): Rewrite.
+       (_bfd_elf_get_sec_type_attr): Return struct rather than passing in
+       attr and type pointers.
+       (_bfd_elf_new_section_hook): Adjust for above.
+       (special_sections): Merge suffix with prefix.  Set
+       prefix_length for all entries.  Set suffix_length appropriately.
+       * elf32-m32r.c (m32r_elf_special_sections): Likewise.
+       * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise.
+       * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise.
+       * elf32-mcore.c (mcore_elf_special_sections): Likewise.
+       * elf32-sh64.c (sh64_elf_special_sections): Likewise.
+       * elf32-v850.c (v850_elf_special_sections): Likewise.
+       * elf32-xtensa.c (elf_xtensa_special_sections): Likewise.
+       * elf64-alpha.c (elf64_alpha_special_sections): Likewise.
+       * elf64-hppa.c (elf64_hppa_special_sections): Likewise.
+       * elf64-ppc.c (ppc64_elf_special_sections): Likewise.
+       * elf64-sh64.c (sh64_elf64_special_sections): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise.
+       * elf32-ppc.c (ppc_elf_special_sections): Likewise.  Fix .plt flags.
+
+2003-09-21  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf64-alpha.c (elf64_alpha_create_got_section): Initialize
+       ->got if the section already exists.
+
+2003-09-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * dwarf2.c (decode_line_info): Cope with an initially empty
+       filename table.
+
+2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * acinclude.m4: Include ../config/accross.m4.
+       * aclocal.m4: Regenerated.
+
+       * configure.host (HOST_64BIT_TYPE): Remove if it is set to long
+       or long long.
+       (HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long.
+       (host64): Remove if HOST_64BIT_TYPE is set to long.
+
+       * configure.in (HOST_64BIT_TYPE): Set according to the size of
+       long and long long.
+       (HOST_U_64BIT_TYPE): Likewise.
+       (host64): Likewise.
+       * configure: Regenerated.
+
+2003-09-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
+       since some ABIs round up the size of the struct.
+
+2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Allow type change if
+       the old symbol is undefined and the new symbol is defined.
+
+2003-09-18  Andreas Schwab  <schwab@suse.de>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Use
+       _bfd_generic_link_hash_table_create instead of
+       bfd_link_hash_table_create.
+
+2003-09-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_special_sections): Mark all sections
+       started with ".sbss" or "".sdata" as SHF_IA_64_SHORT.
+
+2003-09-10  John David Anglin  <dave.anglin@nrc-cnrc.nrc.ca>
+           Randolph Chung      <randolph@tausq.org>
+
+       * elf32-hppa.c (struct elf32_hppa_link_hash_entry,
+       hppa_link_hash_newfunc, hppa_build_one_stub,
+       elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
+       allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
+       elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
+       for generating import stubs for calls to statically linked PIC
+       functions.
+       (hppa_type_of_stub): Don't generate an import stub for calls to
+       statically linked pic functions.  Generate import stubs for calls
+       in a shared object, to functions not in a regular file, and to
+       defined weak functions.  Add new argument INFO.
+       (hppa_build_one_stub): Don't undef ADDIL_DP.
+       (elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
+       (elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
+       (final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
+       non-shared link.  Convert instructions that use the the linkage table
+       pointer, or a facsimile thereof, to use the global data pointer when
+       the reloc has been changed.
+
+2003-09-08  Joel Brobecker  <brobecker@gnat.com>
+
+       * archures.c: Add new machine names for hppa.
+       * bfd-in2.h: Regenerate.
+       * cpu-hppa.c: Use the new machine names.
+
+2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.h (struct m68hc11_elf_link_hash_table): Remove
+       all_local_syms member.
+       * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Use bfd_elf_get_elf_syms
+       to get the local symbols.
+
+2003-09-06  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc12.c (elf32_m68hc12_special_sections): New for hc11.
+       (elf_backend_special_sections): Define.a
+
+       PR savannah/4950:
+       * elf32-m68hc11.c (elf32_m68hc11_special_sections): The .vectors
+       section is read-only.
+
+2003-09-04  Nick Clifton  <nickc@redhat.com>
+
+       * archures.c (bfd_mach_v850e1): Define.
+       * bfd-in2.h: Regenerate.
+       * cpu-v850.h (scan): Accept bfd_mach_v850e1.
+       (arch_info_struct): Include an entry for bfd_mach_v850e1.
+       * elf32-v850.c (v850_elf_object_p): Accept E_V850E1_ARCH flag.
+       (v850_elf_final_write_processing): Accept bfd_mach_v850e1.
+       (v850_elf_print_private_bfd_data): Interpret E_V850E1_ARCH flag.
+       (v850_elf_merge_private_bfd_data): Allow v850e1 binaries to be
+       linked with v850e binaries.  Mark the output as v850e.
+
+2003-09-03  Nick Clifton  <nickc@redhat.com>
+
+       * cofflink.c (_bfd_coff_link_input_bfd): Do not skip section
+       symbols that are used in relocs.
+
+2003-08-30  Robert Millan  <robertmh@gnu.org>
+
+       * configure.in: Match GNU/KFreeBSD with new kfreebsd*-gnu triplet.
+       * config.bfd: Likewise.
+       * configure: Regenerate.
+
+2003-08-31  Christian Groessler  <chris@groessler.org>
+
+       * elf32-i860.c (i860_howto_pc26_reloc): Finish relocation here
+       instead of returning bfd_reloc_continue.
+
+2003-08-31  Andreas Jaeger  <aj@suse.de>
+
+       * merge.c: Update to ISO C90.
+
+2003-08-27  Ian Lance Taylor  <ian@airs.com>
+
+       * configure.in: Check for strtoull.
+       * bfd.c (bfd_scan_vma): Use strtoull when available.
+       * configure, config.in: Regenerate.
+
+       * configure.in: Define and substitute BFD_HOST_LONG_LONG.
+       * bfd-in.h: Define BFD_HOST_LONG_LONG.  Test it rather than
+       __GNUC__ when deciding whether to use long long for
+       BFD_HOST_64_BIT.
+       * configure, Makefile.in, doc/Makefile.in, bfd-in2.h: Regenerate.
+
+2003-08-27  Christian Groessler  <chris@groessler.org>
+
+       * elf32-i860.c (i860_howto_pc26_reloc, i860_howto_pc16_reloc,
+       i860_howto_splitn_reloc, i860_howto_highadj_reloc): New
+       functions.
+       (elf32_i860_howto_table): Insert the new functions as
+       'special_function's in the proper reloc type entries.
+
+2003-08-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf32-frv.c (elf32_frv_relocate_section): Use
+       _bfd_elf_rela_local_sym.
+
+2003-08-26  Michael Snyder  <msnyder@redhat.com>
+
+       * cpu-frv.c: Remove unused enum.
+
+2003-08-25  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
+
+       * reloc.c: Fix documentation for MIPS ELF relocations.
+       libbfd.h: Regenerate.
+       bfd-in2.h: Regenerate.
+
+2003-08-24  Jason Eckhardt  <jle@rice.edu>
+
+       * coff-i860.c (CALC_ADDEND): Define to be a no-op.
+
+2003-08-24  Jason Eckhardt  <jle@rice.edu>
+
+       * elf32-i860.c (elf32_i860_relocate_pc16): Subtract 4 and
+       shift by 2 before storing the relocated value.
+
+2003-08-23  Jason Eckhardt  <jle@rice.edu>
+
+       * coff-i860.c (coff_i860_reloc_nyi): New function.
+       (howto_table): Add entries for relocations PAIR, HIGHADJ, HIGH,
+       LOWn, SPLITn, and BRADDR.
+       (RTYPE2HOWTO): Check that the r_type is within the howto_table
+       before trying to access the entry.
+       (coff_i860_rtype_to_howto): Likewise.
+       (coff_i860_reloc_type_lookup): New function.
+       (i860_reloc_processing): New function.
+       (coff_bfd_reloc_type_lookup): Define macro.
+       (RELOC_PROCESSING): Define macro.
+       Minor formatting adjustments.
+
+2003-08-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.h (elf_link_add_object_symbols): Don't crash on NULL owner.
+
+2003-08-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_create_dynamic_sections): Align the
+       .got section at 8 bytes.
+
+2003-08-21  Nick Clifton  <nickc@redhat.com>
+
+       * cofflink.c: Update to ISO C90 and tidy up formatting.
+
+2003-08-21  Randolph Chung  <tausq@debian.org>
+
+       * elf32-hppa.c (elf32_hppa_object_p): For elf32-hppa-linux, objects
+       can have OSABI=Linux or OSABI=SysV.  Check for both.
+       * elf64-hppa.c (elf64_hppa_object_p): Likewise.
+
+2003-08-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2003-08-20  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf64-mips.c (elf_backend_copy_indirect_symbol): Define.
+
+2003-08-20  Nick Clifton  <nickc@redhat.com>
+
+       * elf-bfd.h (RELOC_FOR_GLOBAL_SYMBOL): New macro used to
+       replace some duplicated code in most elfxx-xxxx.c files.  This
+       version uses the new fields in bfd_link_info.
+
+       * elf-m10300.c (mn10300_elf_relocate_section): Use new macro.
+       * elf32-arm.h (elf32_arm_relocate_section): Likewise.
+       * elf32-cris.c (cris_elf_relocate_section): Likewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
+       * elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf32-vax.c (elf_vax_relocate_section): Likewise.
+       * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_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.
+
+       * elf-hppa.h (elf_hppa_unmark_useless_dynamic_symbols,
+       elf_hppa_remark_useless_dynamic_symbols,
+       elf_hppa_relocate_section): Use the new fields in
+       bfd_link_info structure.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_check_relocs): Likewise.
+       * elf64-hppa.c (elf64_hppa_check_relocs): Likewise.
+       * elf64-sh64.c (sh_elf64_relocate_section): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_check_relocs): Likewise.
+       * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.
+
+       * elflink.h (elf_link_output_extsym): Fix test for reporting
+       undefined symbols in shared libraries.  Remove redundant test
+       of shlib_undefined when reporting references to forced local
+       symbols.
+
+2003-08-18  Andreas Schwab  <schwab@suse.de>
+
+       * libpei.h (bfd_pe_executable_p): Also recognize efi-app
+       executables.
+
+2003-08-17  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Move
+       reloc_done hack to before first bfd_section_size call.  Change all
+       returns to use new wrapper macro RETURN, restoring sec->reloc_done.
+
+2003-08-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c: Don't include elf/ppc.h.
+
+2003-08-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Fix PT_DYNAMIC
+       code to work with 64-bit bfds.
+
+2003-08-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * dep-in.sed: Remove libintl.h.
+       * Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE.
+       (POTFILES.in): Remove target.
+       * Makefile.in: Regenerate.
+
+2003-08-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_next_input_section): Update comment.
+       (ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs,
+       use the function sym from the previous reloc.
+
+2003-08-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Make undefined symbols
+       fatal if -pie.
+       * elf32-s390.c (elf_s390_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-s390.c (elf_s390_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-ppc.c (ppc_elf_relocate_section): Likewise.
+       (ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error
+       on undefined symbols if -pie.
+       * elf32-sh.c (sh_elf_relocate_section): Likewise.
+
+2003-08-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.o
+       branch to __libc_start_main.
+
+2003-08-08 Dmitry Diky <diwil@mail.ru>
+
+       * archures.c: Add xW42 and xE42 parts. Sort MPU list according to
+       gcc order.
+       * cpu-msp430.c: Likewise.
+       * elf32-msp430.c: Likewise.
+       * bfd-in2.h: Regenerate.
+
+2003-08-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfxx-target.h: Remove PTR cast.
+       * targets.c (bfd_target): Make backend_data const void *.
+       * elf-bfd.h: Constify all occurrences of struct elf_backend_data.
+       * elf-m10300.c: Likewise.
+       * elf.c: Likewise.
+       * elf32-hppa.c: Likewise.
+       * elf32-i386.c: Likewise.
+       * elf32-m68hc1x.c: Likewise.
+       * elf32-ppc.c: Likewise.
+       * elf32-s390.c: Likewise.
+       * elf32-sh.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sparc.c: Likewise.
+       * elf32-xtensa.c: Likewise.
+       * elf64-mips.c: Likewise.
+       * elf64-ppc.c: Likewise.
+       * elf64-s390.c: Likewise.
+       * elf64-sh64.c: Likewise.
+       * elf64-sparc.c: Likewise.
+       * elf64-x86-64.c: Likewise.
+       * elfcode.h: Likewise.
+       * elfcore.h: Likewise.
+       * elflink.c: Likewise.
+       * elflink.h: Likewise.
+       * elfxx-ia64.c: Likewise.
+       * elfxx-mips.c: Likewise.
+       * elfxx-mips.h: Likewise.
+       * elf.c (prep_headers): Remove useless check for null backend_data.
+       * bfd-in2.h: Regenerate.
+
+       * elf-bfd.h: Remove PARAMS macro.  Replace PTR with void *.
+       (NAME): Use ## rather than CONCAT4 macro.
+       * elfcode.h: Remove one remaining PARAMS macro.
+       * elf-eh-frame.c: Convert to C90, remove unneeded casts and prototypes.
+       * elf-strtab.c: Likewise.
+       * elf-hppa.h: Likewise.
+       * elf32-hppa.h: Likewise.
+       * elf32-hppa.c: Likewise.
+       (elf32_hppa_add_symbol_hook): Delete.
+       (elf_backend_add_symbol_hook): Don't define.
+       * libhppa.h: Convert to C90.  Replace INLINE with inline.
+
+2003-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc_stub_name): Tweak names for better readability.
+       (ppc64_elf_adjust_dynamic_symbol): Allow copy relocs against
+       function descriptors, but warn.
+       (ppc_build_one_stub): Remove a couple of vars.  Move code creating
+       stub syms so that we can avoid a stub sym if we already have a
+       plt sym.  Do not redefine an existing symbol.
+       (ppc64_elf_build_stubs): When --emit-stub-syms, print a symbol for
+       glink.
+
+2003-08-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-08-06  Alan Modra  <amodra@bigpond.net.au>
+
+       * elflink.c (_bfd_elf_create_dynamic_sections): Mark .dynbss with
+       SEC_LINKER_CREATED.
+
+2003-08-05  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elf32-arm.h (WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
+       (elf32_arm_final_link_relocate, elf32_arm_relocate_section): Use it.
+
+2003-08-03  Jeff Muizelaar  <muizelaar@rogers.com>
+
+       * coffcode.h (coff_slurp_line_table): Return with a warning
+       message if the line number table could not be read.
+
+2003-08-04  Nick Clifton  <nickc@redhat.com>
+
+       * elflink.h (elf_link_add_object_symbols): Prepend "warning: "
+       to messages produced for .gnu.warning.SYMBOL sections.
+
+2003-08-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * elfcode.h: Convert to C90, remove unneeded casts and prototypes.
+       * elfcore.h: Likewise.
+       * elflink.c: Likewise.
+       * elflink.h: Likewise.
+       * elf.c (sym_is_global): Remove INLINE.
+       (align_file_position): Replace INLINE with inline.
+       * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE.
+       (elf_file_p): Replace INLINE with inline.
+
+2003-08-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_check_relocs): Don't set DF_TEXTREL here.
+
+2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (get_got): Align the .got section at 8 bytes.
+
+2003-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_finish_dynamic_symbol): Use
+       ElfNN_External_Rela instead of Elf64_External_Rela.
+
+2003-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * config.bfd: Add code to catch obsolete configurations and warn
+       about them unless --enable-obsolete is used.  Use this to mark
+       vax-vms port as obsolete.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-ppc.c (ppc_elf_install_value): Tidy.
+       (ppc_elf_relax_section): Remove dead code.  Remove unnecessary casts.
+       Formatting.
+       * elfxx-target.h: Remove PARAMS macro.  Formatting.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
+       * elf64-ppc.c (get_fdh): New function, split out from
+       ppc64_elf_edit_opd.
+       (ppc64_elf_check_relocs): Use get_fdh.
+       (func_desc_adjust): Likewise.  Tidy.
+       (ppc64_elf_edit_opd): Tighten reloc checks.  Free local_syms on error
+       exit.  Use get_fdh.  Account for superfluous dynamic relocs.
+       (ppc64_elf_relocate_section): Warning fix.
+
+2003-07-30  Jason Eckhardt  <jle@rice.edu>
+
+       * coff-i860.c: Convert to ISO C90.  Remove superflous prototypes.
+
+2003-07-30  Jason Eckhardt  <jle@rice.edu>
+
+       * elf32-i860.c: Convert to ISO C90.  Remove superflous prototypes.
+
+2003-07-30  Randolph Chung  <tausq@debian.org>
+
+       * elf-hppa.h (elf_hppa_relocate_section): Look up dyn_h for undefweak.
+       * elf64-hppa.c (elf64_hppa_finalize_dlt): Check h->root.type.
+
+2003-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c: Convert to C90, remove unnecessary prototypes and casts.
+       Replace PTR with void *.  Formatting.
+       (_bfd_elf_assign_file_position_for_section): Remove INLINE.
+       (make_mapping): Likewise.
+
+2003-07-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (func_desc_adjust): Give linker created function
+       descriptor symbols a size and type.
+       (ppc64_elf_relocate_section): Correct lq insn test.
+
+2003-07-28  Eric Christopher  <echristo@redhat.com>
+
+       * elf32-ppc.c (R_PPC_RELAX32): New relocation.
+       (ppc_elf_install_value): New function.
+       (ppc_elf_sort_rela): Remove.
+       (ppc_elf_relax_section): Rewrite. Remove old relaxation
+       and replace with out of range branch stubs.
+       (ppc_elf_relocate_section): Handle R_PPC_RELAX32.
+
+2003-07-29  Alexandre Oliva  <aoliva@redhat.com>
+
+       * elf-m10300.c (mn10300_elf_relax_section): Take symbol hash table
+       from input_bfd.
+
+2003-07-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf.c (special_sections): Set attributes for .got and .plt.
+
+2003-07-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Ensure no copy relocs
+       on function descriptors.
+       (ELIMINATE_COPY_RELOCS): Expand comment.
+       (ppc64_elf_special_sections): Move.  Don't include non-ppc64 sections.
+       Do include ".toc1".
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (_bfd_elf_new_section_hook): Set the default section
+       type to SHT_NULL.
+       (elf_fake_sections): Set the section type based on asect->flags
+       if it is SHT_NULL. Don't abort on processor specific section
+       types.
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * bfd-in2.h: Regenerated.
+
+2003-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (bfd_elf_special_section): New.
+       (elf_backend_data): Add special_sections, a pointer to
+       bfd_elf_special_section.
+       (elf_section_type). New.
+       (elf_section_flags): New.
+       (_bfd_elf_get_sec_type_attr): New.
+
+       * elf.c (_bfd_elf_make_section_from_shdr): Always use the
+       real section type/flags.
+       (special_sections): New.
+       (get_special_section): New.
+       (_bfd_elf_get_sec_type_attr): New.
+       (_bfd_elf_new_section_hook): Check special_section to set
+       elf_section_type and elf_section_flags.
+       (elf_fake_sections): Don't use section name to set ELF section
+       data.
+
+       * elf32-m32r.c (m32r_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-m68hc11.c (elf32_m68hc11_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-mcore.c (mcore_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-ppc.c (ppc_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-sh64.c (sh64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-v850.c (v850_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf32-xtensa.c (elf_xtensa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-alpha.c (elf64_alpha_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-hppa.c (elf64_hppa_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-ppc.c (ppc64_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elf64-sh64.c (sh64_elf64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-ia64.c (elfNN_ia64_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-mips.c (_bfd_mips_elf_special_sections): New.
+
+       * elfxx-mips.h (_bfd_mips_elf_special_sections): New.
+       (elf_backend_special_sections): Defined.
+
+       * elfxx-target.h (elf_backend_special_sections): New. Default
+       to NULL.
+       (elfNN_bed): Initialize special_sections.
+
+       * section.c (bfd_abs_section): Remove const.
+       (bfd_und_section): Likewise.
+       (bfd_com_section): Likewise.
+       (bfd_ind_section): Likewise.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * coff-arm.c (EXTRA_S_FLAGS): Include SEC_CODE so that code
+       sections are assigned the LOAD attribute.
+
+2003-07-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c: Convert to C90.  Replace PTR with void *.
+       * elf32-sh64-com.c: Likewise.
+       * elf32-sh64.c: Likewise.
+       * elf32-sh64.h: Likewise.
+       * elf64-sh64.c: Likewise.
+
+2003-07-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Use SYMBOL_CALLS_LOCAL.
+       (allocate_dynrelocs): Likewise.
+       (sh_elf_relocate_section): Likewise. Use SYMBOL_REFERENCES_LOCAL.
+       (sh_elf_finish_dynamic_symbol): Use SYMBOL_REFERENCES_LOCAL.
+
+2003-07-24  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Make inline and move
+       near the beginning of the file.  Swap order of arguments.  Call
+       _bfd_elf_dynamic_symbol_p with "ignore_protected" set to 0.
+       (elf_xtensa_fix_refcounts): Adjust xtensa_elf_dynamic_symbol_p call.
+       (elf_xtensa_relocate_section): Likewise.
+       (shrink_dynamic_reloc_sections): Likewise.
+
+2003-07-23  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (plt_reloc_count): Fix typo in comment.
+       (elf_xtensa_size_dynamic_sections): Use elf_discarded_section.
+       (elf_xtensa_combine_prop_entries): Avoid returning non-zero without
+       first printing an error message.
+       (elf_xtensa_finish_dynamic_sections): Likewise.
+       (elf_xtensa_discard_info_for_section): Adjust size of .got.loc when
+       discarding literal table entries.
+       (elf_xtensa_merge_private_bfd_data): Remove newline from error message.
+       (elf_xtensa_do_asm_simplify): Likewise.
+
+2003-07-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * elf32-m68hc1x.c (elf32_m68hc11_size_stubs): Avoid crash when
+       we have a local symbol in common section.
+
+2003-07-22  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): Don't return TRUE for
+       weak symbols.
+
+2003-07-22  Nick Clifton  <nickc@redhat.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Add C_TCSYM and C_ECOML to
+       expected RS6000 storage classes.
+
+2003-07-21  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Mark
+       output_bfd unused to silence gcc.
+
+2003-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * po/sv.po: Updated Swedish translation.
+
+2003-07-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use..
+       (_bfd_elf_symbol_refs_local_p): ..this.  Declare.
+       * elflink.c (_bfd_elf_symbol_refs_local_p): New function.
+       * elf32-i386.c (elf_i386_relocate_section): Remove h NULL test
+       now done in _bfd_elf_symbol_refs_local_p.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+       * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
+
+2003-07-18  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): Undo the last change.
+
+2003-07-18  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo.
+       (SYMBOL_CALLS_LOCAL): Likewise.
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
+       immediately if symbol isn't defined locally.
+
+2003-07-18  Richard Henderson  <rth@redhat.com>
+
+       * elflink.c (_bfd_elf_dynamic_symbol_p): New.
+       * elf-bfd.h (_bfd_elf_dynamic_symbol_p): Declare it.
+       (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Use it.
+       * elf32-xtensa.c (xtensa_elf_dynamic_symbol_p): Likewise.
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
+       * elf64-hppa.c (elf64_hppa_dynamic_symbol_p): Likewise.
+       * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Likewise.
+       Update all callers to provide the relocation being resolved.
+
+2003-07-17  Shaun Jackman <sjackman@pathwayconnect.com>
+
+       * config.bfd (arm-wince-pe): Add -DARM_COFF_BUGFIX to
+       targ_cflags.
+
+2003-07-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: New Spanish translation.
+       * po/sv.po: New Swedish translation.
+       * po/opcodes.pot: Regenerate.
+
+2003-07-16  Richard Henderson  <rth@redhat.com>
+
+       * config.bfd, configure.host, configure.in: Remove ia64-aix support.
+       * elfxx-ia64.c, targets.c: Likewise.
+
+2003-07-16  Richard Henderson  <rth@redhat.com>
+
+       * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Properly return false
+       for symbols defined locally plus -Bsymbolic.  Tidy logic.
+
+2003-07-15  Richard Sandiford  <rsandifo@redhat.com>
+
+       * archures.c (bfd_mach_mips7000): New.
+       * bfd-in2.h: Regenerated.
+       * cpu-mips.c (arch_info_struct): Add an entry for mips:7000.
+       * elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips7000.
+       (mips_mach_extensions): Add an entry for it.
+
+2003-07-14  Nick Clifton  <nickc@redhat.com>
+
+       * po/tr.po: Update with latest version.
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Regenerate.
+       * Makfile.in: Regenerate.
+       * configure: Regenerate.
+
+2003-07-12  Jeff Baker  <jbaker@qnx.com>
+
+       * bfd/config.bfd (__QNXTARGET__): Define for Neutrino architectures.
+       * bfd/elf32-arm.h (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
+       * bfd/elf32-sh.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
+       * bfd/elf32-ppc.c (ELF_MAXPAGESIZE): Set to 4k for Neutrino.
+
+2003-07-12  Jeff Muizelaar  <muizelaar@rogers.com>
+
+       * coffcode.h (coff_set_section_contents): Set the
+       IMAGE_FILE_32BIT_MACHINE flag for PE targets.
+
+2003-07-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * bfd-in.h (bfd_h8300_pad_address): Declare.
+       * bfd-in2.h: Regenerate.
+       * cpu-h8300.c (bfd_h8300_pad_address): New function.
+       * coff-h8300.c (h8300_reloc16_estimate): Use it to canonicalize
+       addresses before checking whether they can be relaxed.
+       (h8300_reloc16_extra_cases): Likewise for the R_MOVL2 sanity check.
+       Don't complain about overflows in general 8-bit relocations.
+       * elf32-h8300.c (elf32_h8_relax_section): Use bfd_h8300_pad_address.
+       Fix handling of R_H8_DIR24A8.
+
+2003-07-11  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elf32-h8300.c: Convert function prototypes and definitions
+       to C90 syntax.
+       * coff-h8300.c: Likewise.
+       * cpu-h8300.c: Likewise.
+
+2003-07-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * po/SRC-POTFILES.in: Regenerate.
+       * po/bfd.pot: Likewise.
+
+2003-07-10  Bob Wilson  <bob.wilson@acm.org>
+
+       * elf32-xtensa.c (elf_xtensa_create_dynamic_sections): Create new
+       .got.loc section.  Do not set SEC_ALLOC or SEC_LOAD flags for the
+       .xt.lit.plt section.
+       (elf_xtensa_size_dynamic_sections): Set size of the .got.loc section
+       and allocate memory for it.
+       (elf_xtensa_combine_prop_entries): Copy contents of .xt.lit output
+       section to the .got.loc section.
+       (elf_xtensa_finish_dynamic_sections): Fix up call to
+       elf_xtensa_combine_prop_entries and set DT_XTENSA_GOT_LOC_OFF to
+       the address of .got.loc.
+       (relax_property_section): Shrink .got.loc to match changes in any
+       literal table section.
+       (xtensa_is_property_section): Change to match
+       xtensa_get_property_section_name.
+       (xtensa_is_littable_section): New.
+
+2003-07-10  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1 instead of
+       -1LL.
+
+2003-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (BFD32_BACKENDS): Add elf32-am33lin.lo.
+       (BFD32_BACKENDS_CFILES): elf32-am33lin.c not elf32-am33lin.lo.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2003-07-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       2001-09-12  Alexandre Oliva  <aoliva@redhat.com>
+       * elf32-am33lin.c (ELF_MACHINE_CODE): Redefine to EM_MN10300.
+       (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300.
+       2001-06-02  Nick Clifton  <nickc@cambridge.redhat.com>
+       * elf32-am33lin.c: Rename global functions.
+       2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
+       * config.bfd (am33_2.0, am33_2.0-*-linux*): Added.
+       * configure.in (bfd_elf32_am33lin_vec): Added.
+       * Makefile.am (BFD32_BACKENDS): Added elf32-am33lin.lo.
+       (elf32-am33lin.lo): List dependencies.
+       * aclocal.m4, configure, Makefile.in: Rebuilt.
+       * elf-m10300.c (TARGET_LITTLE_SYM, TARGET_LITTLE_NAME,
+       ELF_ARCH, ELF_MACHINE_CODE, ELF_MAXPAGESIZE): Define only if
+       ELF_ARCH was not defined before.
+       (elf_symbol_leading_char): Define if not defined.
+       * elf32-am33lin.c: Override the definitions above.
+       * targets.c (bfd_elf32_am33lin_vec): New.
+
+2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       2002-12-12  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c (elf32_mn10300_link_hash_newfunc): Initialize
+       pcrel_relocs_copied.
+       2001-12-13  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c (ELF_DYNAMIC_INTERPRETER): Renamed from
+       ld-linux.so.2 to ld.so.1.
+       2001-10-10  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c (elf_mn10300_sizeof_plt0): New macro.
+       (_bfd_mn10300_elf_adjust_dynamic_symbol): Use it.
+       (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
+       * elf-m10300.c (_bfd_mn10300_elf_size_dynamic_sections): Allocate
+       .rela.* section contents with bfd_zalloc.
+       2001-09-25  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c: Added declarations for functions missing them.
+       Merge some shared-library changes from the i386 back-end.  Use
+       R_MN10300_RELATIVE instead of R_MN10300_PCREL32 and
+       R_MN10300_GLOB_DAT instead of R_MN10300_32 where appropriate.
+       (struct elf32_mn10300_link_hash_entry): Remove duplicates of
+       members of elf_link_hash_entry.  Adjusted references.
+       (mn10300_elf_final_link_relocate): dynobj was already loaded
+       into a local variable, use it.
+       2001-09-21  Nick Clifton  <nickc@cambridge.redhat.com>
+       * elf-m10300.c: Add missing function prototypes.
+       2001-08-24  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c (mn10300_elf_relocate_section): Don't compute
+       relocation for dynamic relocations.
+       2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
+       * reloc.c (BFD_RELOC_MN10300_GOTOFF24): New.
+       * elf-m10300.c: Introduce GOTPC16, GOTOFF24, GOTOFF16 and
+       PLT16, and rename GOTPC to GOTPC32 and GOTOFF to GOTOFF32.
+       (_bfd_mn10300_elf_create_dynamic_sections): Move creation ot PLT...
+       (_bfd_mn10300_elf_create_got_section): ... here, so that its
+       adress is already known at the time we compute relaxations.
+       (mn10300_elf_relax_section): Relax GOTPC32, GOTOFF32, GOT32
+       and PLT32 to narrower relocations.
+       * libbfd.h, bfd-in2.h: Rebuilt.
+       2001-04-12  Alexandre Oliva  <aoliva@redhat.com>
+       * reloc.c (BFD_RELOC_MN10300_GOT32, BFD_RELOC_MN10300_GOT24,
+       BFD_RELOC_MN10300_GOT16, BFD_RELOC_MN10300_COPY,
+       BFD_RELOC_MN10300_GLOB_DAT, BFD_RELOC_MN10300_JMP_SLOT,
+       BFD_RELOC_MN10300_RELATIVE): New relocs.
+       * libbfd.h, bfd-in2.h: Rebuilt.
+       * elf-m10300.c (struct elf_mn10300_pcrel_relocs_copied): New.
+       (struct elf32_mn10300_link_hash_entry): Added DSO-related
+       fields.
+       (elf_mn10300_howto): Defined new relocation types.
+       (mn10300_reloc_map): Map them.
+       (_bfd_mn10300_elf_create_got_section): New fn.
+       (mn10300_elf_check_relocs): Handle PIC relocs.
+       (mn10300_elf_final_link_relocate): Likewise.
+       (mn10300_elf_relocate_section): Handle DSOs.
+       (PLT0_ENTRY_SIZE, PLT_ENTRY_SIZE, PIC_PLT_ENTRY_SIZE): New macros.
+       (elf_mn10300_plt0_entry, elf_mn10300_plt_entry,
+       elf_mn10300_pic_plt_entry): New.
+       (elf_mn10300_sizeof_plt, elf_mn10300_plt_plt0_offset,
+       elf_mn10300_plt0_linker_offset, elf_mn10300_plt0_gotid_offset,
+       elf_mn10300_plt_temp_offset, elf_mn10300_plt_symbol_offset,
+       elf_mn10300_plt_reloc_offset: New macros.
+       (ELF_DYNAMIC_INTERPRETER): Likewise.
+       (_bfd_mn10300_elf_create_dynamic_sections): New function.
+       (_bfd_mn10300_elf_adjust_dynamic_symbol): Likewise.
+       (_bfd_mn10300_elf_discard_copies): Likewise.
+       (_bfd_mn10300_elf_size_dynamic_sections): Likewise.
+       (_bfd_mn10300_elf_finish_dynamic_symbol): Likewise.
+       (_bfd_mn10300_elf_finish_dynamic_sections): Likewise.
+       (elf_backend_can_gc_sections,
+       elf_backend_create_dynamic_sections,
+       elf_backend_adjust_dynamic_sections,
+       elf_backend_size_dynamic_sections,
+       elf_backend_finish_dynamic_symbol,
+       elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
+       elf_backend_plt_readonly, elf_backend_want_plt_sym,
+       elf_backend_got_header_size, elf_backend_plt_header_size): New
+       macros.
+
+2003-07-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
+       * elf-m10300.c (compute_function_info): Account for AM33
+       registers in `movm' when computing stack space for `call' when
+       linking for AM33/2.0 link.
+       2000-04-01  Alexandre Oliva  <aoliva@cygnus.com>
+       * archures.c (bfd_mach_am33_2): Renamed from bfd_mach_am332.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m10300.c (bfd_am33_2_arch): Renamed from bfd_am332_arch.
+       * elf-m10300.c: Updated.
+       2000-03-31  Alexandre Oliva  <aoliva@cygnus.com>
+       * archures.c (bfd_mach_am332): Defined.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m10300.c (bfd_am332_arch): Defined.
+       (bfd_am33_arch): Chained with am33-2.
+       * elf-m10300.c (elf_mn10300_mach): Handle am332.
+       (_bfd_mn10300_elf_final_write_processing): Likewise.
+
+2003-07-09  H.J. Lu <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (IA64_HOWTO): Set dst_mask to -1LL.
+
+2003-07-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-ppc.c (bfd_elf64_mkobject): Define.
+       (struct ppc64_elf_obj_tdata): New.
+       (ppc64_elf_tdata, ppc64_tlsld_got): Define.
+       (ppc64_elf_mkobject): New function.
+       (struct got_entry): Add "owner".  Move "tls_type".
+       (struct ppc_link_hash_table): Delete "relgot", "tlsld_got".
+       (ppc64_elf_init_stub_bfd): New function.
+       (create_got_section): Create header .got in dynobj.  Create .got
+       and .rela.got in each bfd.  Stash pointers in ppc64_elf_obj_tdata.
+       (ppc64_elf_create_dynamic_sections): Don't call create_got_section.
+       Look for dynobj .got, and test it.
+       (ppc64_elf_copy_indirect_symbol): Adjust for changed got.
+       (update_local_sym_info): Likewise.
+       (ppc64_elf_check_relocs): Likewise.
+       (ppc64_elf_gc_sweep_hook): Likewise.
+       (ppc64_elf_tls_optimize): Likewise.
+       (allocate_dynrelocs): Likewise.
+       (ppc64_elf_size_dynamic_sections): Likewise.
+       (ppc64_elf_relocate_section): Likewise.
+       (ppc64_elf_next_toc_section): Update comment.
+       (toc_adjusting_stub_needed): Remove unneeded cast.
+       (ppc64_elf_build_stubs): Check for stub sections in stub bfd by
+       testing section flags.
+       (ppc64_elf_build_stubs): Likewise.
+       (ppc64_elf_size_stubs): Likewise.  Remove stub_bfd param.
+       (ppc64_elf_finish_dynamic_sections): Write out got sections.
+       (func_desc_adjust): Copy over dynamic info for undef weaks.
+       * elf64-ppc.h (ppc64_elf_init_stub_bfd): Declare.
+       (ppc64_elf_size_stubs): Update prototype.
+       * elflink.h (elf_link_sort_relocs): Use link_orders to find reldyn
+       input sections rather than scanning dynobj.
+
+2003-07-09  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_link_hash_entry): Remove min_dyn_reloc_index.
+       (bfd_mips_elf_swap_msym_in, bfd_mips_elf_swap_msym_out): Delete.
+       (mips_elf_create_msym_section): Delete.
+       (mips_elf_create_dynamic_relocation): Don't set min_dyn_reloc_index.
+       (_bfd_mips_elf_copy_indirect_symbol): Likewise.
+       (_bfd_mips_elf_create_dynamic_sections): Don't create .msym.
+       (_bfd_mips_elf_size_dynamic_sections): Don't calculate its size.
+       (_bfd_mips_elf_size_dynamic_sections): Don't add DT_MIPS_MSYM.
+       (_bfd_mips_elf_finish_dynamic_symbol): Don't add symbols to .msym.
+       (_bfd_mips_elf_finish_dynamic_sections): Likewise.
+
 2003-07-09  Richard Sandiford  <rsandifo@redhat.com>
 
        * elfxx-mips.c (mips_elf_irix6_finish_dynamic_symbol): Make the
This page took 0.065499 seconds and 4 git commands to generate.