* simple.c (bfd_simple_get_relocated_section_contents): Don't
[binutils-gdb.git] / bfd / ChangeLog
index 3d4a86757f8df060a8b14c77249a88883ae298c7..f128442c9eb26a3e24252befd255421624857f8d 100644 (file)
@@ -1,3 +1,158 @@
+2004-04-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * simple.c (bfd_simple_get_relocated_section_contents): Don't
+       change reloc_done.  Set and restore _cooked_size.
+       (RETURN): Delete.
+
+2004-04-15  Mark Kettenis  <kettenis@gnu.org>
+
+       * netbsd-core.c (netbsd_core_file_p): Set architecture for VAX
+       core files.
+
+2004-04-15  Nick Clifton  <nickc@redhat.com>
+
+       * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
+
+2004-04-15  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.
+
+2004-04-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong only
+       when it is a definition.
+
+2004-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * elf32-sparc.c (elf32_sparc_relocate_section): Don't abort
+       when statically linking PIC code.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+2004-04-11  Thiemo Seufer  <seufer@csv.ica.uni-stuttgart.de>
+
+       * config.bfd: Remove mips*-*-mach3* and mips*-dec-mach3* targets.
+       * configure.in: Remove mips-dec-bsd*, mips-dec-mach3*, mips-*-mach3*
+       targets amd aout_mips_big_vec, aout_mips_little_vec target vectors.
+       * configure: Regenerate.
+
+2004-04-08  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elflink.c: Include libiberty.h.
+       * Makefile.am (elflink.lo): Depend on libiberty.h.
+       * Makefile.in: Regenerate.
+
+2004-04-06  Daniel Jacobowitz  <drow@mvista.com>
+
+       * elfxx-mips.c (MIPS_ELF_STUB_SECTION_NAME): Always use
+       ".MIPS.stubs".
+
+2004-04-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-ia64.c (elfNN_ia64_size_dynamic_sections): Always
+       reserve the memory for dynamic linker
+
+2004-04-05  Mark Kettenis  <kettenis@gnu.org>
+
+       * netbsd-core.c (CORE_WCOOKIE_OFFSET): New define.
+       (netbsd_core_file_p): Create a .wcookie section for OpenBSD/sparc.
+
+2004-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-cr16c.c (elf32_cr16c_relocate_section): Use
+       RELOC_FOR_GLOBAL_SYMBOL.
+       (elf32_cr16c_add_symbol_hook): Remove const from Elf_Internal_Sym.
+
+2004-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Handle
+       R_ARM_ALU* only if OLD_ARM_ABI is not defined.
+
+2004-04-01  Paul Brook  <paul@codesourcery.com>
+
+       * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update.
+       * elf32-arm.h (struct elf32_elf_section_map): New.
+       (struct _arm_elf_section_data): New.
+       (elf32_arm_section_data): Define.
+       (struct elf32_arm_link_hash_table): Add byteswap_code.
+       (elf32_arm_link_hash_table_create): Initialize byteswap_code.
+       (bfd_elf32_arm_process_before_allocation): Add byteswap_code.
+       (elf32_arm_post_process_headers): Set EF_ARM_BE8.
+       (elf32_arm_output_symbol_hook, elf32_arm_new_section_hook,
+       elf32_arm_compare_mapping, elf32_arm_write_section): New functions.
+       (bfd_elf32_new_section_hook, elf_backend_write_section,
+       elf_backend_link_output_symbol_hook): Define.
+
+2004-04-01  Andy Chittenden  <achittenden@bluearc.com>
+
+       * stabs.c (struct stab_link_includes_totals): Add field 'symb'
+       that keeps the characters in a B_INCL..B_EINCL range.
+       (_bfd_link_section_stabs): When computing the sum of the
+       characters in a B_INCL..B_EINCL range also keep a copy of those
+       characters.  Use this information to distinguish between
+       include sections that have the same sum and the same length
+       but which are nevertheless unique.
+
+2004-03-31  Paul Brook  <paul@codesourcery.com>
+
+       * elf32-arm.h (elf32_arm_final_link_relocate): Add R_ARM_ALU*.
+       * elfarm-nabi.c (elf32_arm_howto_table): Ditto.
+
+2004-03-31  Andy Chittenden <achittenden@bluearc.com>
+
+       * stabs.c (struct stab_link_includes_totals): Rename field 'total'
+       to 'sum_chars' and add field 'num_chars'.
+       (_bfd_link_section_stabs): When computing the sum of the
+       characters in a B_INCL..B_EINCL range also keep a count of the
+       number of characters.  Use this information to help distinguish
+       between include sections when have the same sum but which
+       nevertheless are still unique.
+
+2004-03-31  Mattias EngdegĂ„rd  <mattias@virtutech.se>
+
+       * stabs.c (_bfd_link_section_stabs): Do not skip N_EXCL stabs.
+
+2004-03-30  Galit Heller  <Galit.Heller@nsc.com>
+            Tomer Levi    <Tomer.Levi@nsc.com>
+
+       * Makefile.am (ALL_MACHINES): Add cpu-cr16c.lo.
+       (ALL_MACHINES_CFILES): Add cpu-cr16c.c.
+       (BFD32_BACKENDS): Add elf32-cr16c.lo.
+       (BFD32_BACKENDS_CFILES): Add elf32-cr16c.c.
+       (cpu-cr16c.lo): New target.
+       (elf32-cr16c.lo): Likewise.
+       * Makefile.in: Regenerate.
+       * archures.c (bfd_architecture): Add bfd_{arch,mach}_cr16c.
+       (bfd_archures_list): Add bfd_cr16c_arch.
+       * config.bfd: Handle cr16c-*-elf*.
+       * configure.in: Handle bfd_elf32_cr16c_vec.
+       * configure: Regenerate.
+       * reloc.c: Add BFD_RELOC_16C_NUM08, BFD_RELOC_16C_NUM08_C,
+       BFD_RELOC_16C_NUM16, BFD_RELOC_16C_NUM16_C,
+       BFD_RELOC_16C_NUM32, BFD_RELOC_16C_NUM32_C,
+       BFD_RELOC_16C_DISP04, BFD_RELOC_16C_DISP04_C,
+       BFD_RELOC_16C_DISP08, BFD_RELOC_16C_DISP08_C,
+       BFD_RELOC_16C_DISP16, BFD_RELOC_16C_DISP16_C,
+       BFD_RELOC_16C_DISP24, BFD_RELOC_16C_DISP24_C,
+       BFD_RELOC_16C_DISP24a, BFD_RELOC_16C_DISP24a_C,
+       BFD_RELOC_16C_REG04, BFD_RELOC_16C_REG04_C,
+       BFD_RELOC_16C_REG04a, BFD_RELOC_16C_REG04a_C,
+       BFD_RELOC_16C_REG14, BFD_RELOC_16C_REG14_C,
+       BFD_RELOC_16C_REG16, BFD_RELOC_16C_REG16_C,
+       BFD_RELOC_16C_REG20, BFD_RELOC_16C_REG20_C,
+       BFD_RELOC_16C_ABS20, BFD_RELOC_16C_ABS20_C,
+       BFD_RELOC_16C_ABS24, BFD_RELOC_16C_ABS24_C,
+       BFD_RELOC_16C_IMM04, BFD_RELOC_16C_IMM04_C,
+       BFD_RELOC_16C_IMM16, BFD_RELOC_16C_IMM16_C,
+       BFD_RELOC_16C_IMM20, BFD_RELOC_16C_IMM20_C,
+       BFD_RELOC_16C_IMM24, BFD_RELOC_16C_IMM24_C,
+       BFD_RELOC_16C_IMM32, BFD_RELOC_16C_IMM32_C.
+       * targets.c (bfd_elf32_cr16c_vec): Declare.
+       (bfd_target_vector): Add bfd_elf32_cr16c_vec.
+       * cpu-cr16c.c: New file.
+       * elf32-cr16c.c: Likewise.
+       * libbfd.h: Regenerate.
+       * bfd-in2.h: Likewise.
+
 2004-03-30  Jakub Jelinek  <jakub@redhat.com>
 
        * elf.c (map_sections_to_segments): Fix handling of .tbss.