[ bfd/ChangeLog ]
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 3870478e3d9c0e3be2b31a37e7ef4b9c1a402e8b..aae16dbe95a7cde3e7c3324a1e46589901922c0e 100644 (file)
@@ -1,3 +1,341 @@
+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
This page took 0.027701 seconds and 4 git commands to generate.