Add support for target specific processing of ELF segments
[binutils-gdb.git] / bfd / ChangeLog
index 6037a1c4f0d2143f8e913b0987ca0c4e0ffc2001..d82166ac4cec2cf23e8c0c36dc0f8b18f200f943 100644 (file)
@@ -1,3 +1,96 @@
+1999-11-26  Fred Fish  <fnf@cygnus.com>
+
+       * elf.c (elfcore_read_notes): Add prototype for static function.
+       (_bfd_elf_make_section_from_phdr): Renamed from bfd_section_from_phdr.
+       (bfd_section_from_phdr): Replacement function that calls
+       _bfd_elf_make_section_from_phdr for generic segment types and
+       backend fucntion pointed to by elf_backend_section_from_phdr for
+       backend specific segment types.
+       (_bfd_elfcore_section_from_phdr): Remove call to elfcore_read_notes,
+       now called by _bfd_elf_make_section_from_phdr.  Note that this func
+       is now just a stub between the caller and bfd_section_from_phdr.
+       
+       * elf-bfd.h (struct elf_backend_data): Add new function pointer
+       elf_backend_section_from_phdr.
+       (elf_backend_section_from_phdr): Add prototype.
+       
+       * elfxx-target.h (elf_backend_section_from_phdr): Define default.
+       (elfNN_bed): Add elf_backend_section_from_phdr.
+
+1999-11-25  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c (bfd_arm_get_bfd_for_interworking):  Add
+       SEC_CODE and SEC_READONLY flags to glue sections.
+
+       * elf32-arm.h (bfd_elf32_arm_get_bfd_for_interworking): Add
+       SEC_CODE and SEC_READONLY flags to glue sections.
+
+1999-11-20  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-mcore.c (coff_mcore_relocate_section): Fix typo in previous
+       delta. 
+
+1999-11-19  Catherine Moore  <clm@cygnus.com>
+
+       * elf32-m68k.c (elf_cpu32_plt0_entry): Fix encoding.
+       (elf_cpu32_plt_entry): Likewise.
+
+1999-11-18  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-mcore.c (coff_mcore_rtype_to_howto): Special case handling
+       for RVA relocs.
+       (coff_mcore_relocate_section): Initialise addend to 0.
+       Special case processing of RVA reloc.
+
+1999-11-17  Richard Henderson  <rth@cygnus.com>
+
+       * elf-bfd.h (struct elf_backend_data): Reorder collect and
+       type_change_ok; add sign_extend_vma.
+       * elf32-mips.c (elf_backend_sign_extend_vma): Define.
+       * elfcode.h (elf_swap_symbol_in): Mind be->sign_extend_vma.
+       (elf_swap_shdr_in, elf_swap_phdr_in): Likewise.
+       * elfxx-target.h (elf_backend_sign_extend_vma): Default.
+       (elfNN_bed): Follow struture changes.
+
+1999-11-09  Ian Lance Taylor  <ian@zembu.com>
+
+       * libbfd.c (bfd_read): Check result of read against desired result
+       using !=, not <.
+       (_bfd_generic_get_section_contents): Set bfd_error if the seek is
+       invalid compared to the section size.
+
+       * ieee.c (ieee_slurp_debug): Get the length of the debug
+       information right if there is no data part.
+
+Tue Nov  2 01:44:41 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * som.c (som_fixup_formats): Improve handling of R_AUX_UNWIND,
+       R_LINETAB, R_LINETAB_ESC, and R_COMMENT.
+
+1999-10-28  Ian Lance Taylor  <ian@zembu.com>
+
+       * elflink.h (elf_bfd_final_link): Make last_local signed.
+
+1999-10-27  Ian Lance Taylor  <ian@zembu.com>
+
+       * stabs.c (_bfd_link_section_stabs): Make sure .stabstr section
+       starts with a zero.
+
+Sat Oct 23 17:36:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * archures.c: Add definitions bfd_mach_d10v, bfd_mach_d10v_ts2 and
+       bfd_mach_d10v_ts3.
+       * cpu-d10v.c (d10v_ts3_info, d10v_ts2_info): Add.
+       * bfd-in2.h: Regenerate.
+       
+1999-10-15  Andrew Haley  <aph@cygnus.com>
+
+       * dwarf1.c (parse_die): Fail to parse a die if its length is zero.
+
+Sun Oct 17 17:19:00 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * libhppa.h (bfd_hppa_insn2fmt): Change to return an int.
+
 1999-10-08  Ian Lance Taylor  <ian@zembu.com>
 
        * elflink.h (elf_merge_symbol): When overriding a weak symbol with