Most of these changes are really only cosmetic. The readelf.c patch
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index ea94b3e0a81ca80f20faa2f36f91946bec556a6b..6a08870a24c013df242a5f98e3a7215652f94eb4 100644 (file)
@@ -1,3 +1,373 @@
+2000-01-27  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * coff-i386.c (i3coff_object_p): Remove prototype.
+       Update copyright.
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Add const
+       to name.  Update copyright.
+
+       * trad-core.c (trad_unix_core_file_p): Cast core_regsec
+       assignment to avoid warning.  Update copyright.
+
+2000-01-24  Robert Lipe  (robertl@sco.com)
+
+        * coffcode.h (coff_write_object_contents): Get buff via bfd_malloc
+       instead of using GNU C extension.
+
+2000-01-21  Nick Clifton  <nickc@cygnus.com>
+
+       * libbfd.c (bfd_read): Do not attempt to get a negativly sized
+       amount from a bfd_in_memory structure.
+       (bfd_seek): Do not allow seeks past the end of a bfd_in_memory
+       structure.
+
+2000-01-14  Nick Clifton  <nickc@cygnus.com>
+
+       * linker.c (default_indirect_link_order): oops - fix incorrectly
+       applied patch from Tim Wall.
+
+2000-01-13  Timothy Wall (twall@tiac.net>
+
+       * coffcode.h: Use bfd_coff_xxx instead of the macro XXX (where xxx
+       = scnhsz, filhsz, relsz, aoutsz, etc)
+
+        * coffswap.h: Ditto.
+       
+2000-01-13  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-arm.h (elf32_thumb_to_arm_stub): Fix offset in branch to
+       interwork thumb to arm stub.
+
+2000-01-13  Timothy Wall (twall@tiac.net>
+
+       * archures.c (bfd_octets_per_byte): New function: Return
+       target byte size.
+       (bfd_arch_mach_octets_per_byte): New function: Return target
+       byte size.
+
+       * section.c: Distinguish between octets and bytes for usage of 
+       _cooked_size,  _raw_size, and output_offset.  Clarify
+       description of bfd_set_section_contents.
+
+       * bfd-in2.h: Regenerate.
+
+       * coffgen.c: Indicate that the offset parameter is in bytes, not
+       octets.
+       
+       * cofflink.c (bfd_coff_link_input_bfd): Use bfd_octets_per_byte
+       where appropriate to get the octet offset when calling
+       bfd_set_section_contents.
+       (bfd_coff_reloc_link_order): Ditto.
+       
+       * linker.c (bfd_generic_reloc_link_order): Ditto.
+       (_bfd_default_link_order): Ditto.
+       
+       * reloc.c (bfd_perform_relocation):  Distinguish between octets
+       and bytes.  Use octets when indexing into octet data; use bytes
+       when calculating target addresses.
+       (bfd_install_relocation): Ditto.
+       
+       * srec.c (srec_write_section): Ditto.
+       
+2000-01-13  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-mcore.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Change from
+       3 to 2.  This allows 4 byte sized sections, which is necessary for
+       dlltool to build funcitoning DLLs.
+
+2000-01-10  Philip Blundell  <pb@futuretv.com>
+
+       * config.bfd (arm*-*-linux-gnu*): Match instead of arm*-*-linux-gnu.
+       (arm*-*-conix*): New target.
+
+2000-01-10  Egor Duda  <deo@logos-m.ru>
+
+       * config.bfd: Include elf32_i386 vector to target list for cygwin 
+       and mingw.
+       
+       * config.in: Undefine HAVE_WIN32_PSTATUS_T.
+       * configure.in: Test for structure win32_pstatus_t in
+       <sys/procfs.h>
+       * configure: Regenerate.
+       
+       * elf.c (elfcore_grok_win32pstatus): New function: process
+       win32_pstatus_t notes in elf core file.
+       (elfcore_grok_note): Detect win32_pstatus notes.
+
+2000-01-03  Martin v. Loewis  <loewis@informatik.hu-berlin.de>
+
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Process symbol
+       visibility.
+       * elflink.h (elf_link_add_object_symbols): Combine visibilities.
+       * elf.c (bfd_elf_print_symbol): Interpret st_other as visibility.
+
+1999-12-29  Richard Henderson  <rth@cygnus.com>
+
+       * elflink.h (bfd_elf,size_dynamic_sections): Don't export all
+       if no dynamic sections created.
+
+1999-12-27  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (pe_bfd_object_p): Only define for PE format
+       targets. 
+
+1999-12-17  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-i386.c (i3coff_object_p): Delete.
+       (i386coff_vec): Replace reference to i3coff_object_p with a
+       reference to coff_object_p.
+
+       * coff-mcore.c (pe_object_p): Delete.
+
+       * peicode.h (pe_bfd_object_p): New function: Detect the
+       presence of a PE format COFF object file.  Also detect and
+       warn about the presence of LINK6 format Image Library Format
+       object files.
+       
+1999-12-16  Nick Clifton  <nickc@cygnus.com>
+
+       * coff-arm.c (NUM_ELEM): New macro.
+       (NUM_RELOCS): New macro: The number of known ARM relocs.
+       (RTYPE2HOWTO): Return NULL if the reloc type is out of range.
+       (coff_arm_rtype_to_howto):  Return NULL if the reloc type is out
+       of range.
+       (bfd_arm_process_before_allocation): Produce a warning message if
+       an out of range symbol index is encountered.
+
+1999-12-14  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h (is_global_symbol_definition): New Function: Return
+       true iff the symbol is being given a global definition in this
+       bfd. 
+       (elf_link_is_defined_archive_symbol): Do not bother processing
+       symbols for an archive element that has already been included
+       in the link.
+       Use is_global_symbol_definition().
+       
+1999-12-09  Andrew Cagney  <cagney@cygnus.com>
+
+       * config.bfd: Add support for sparc-*-netbsdelf* and
+       sparc-*-netbsdaout*.
+
+1999-12-13  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h (elf_link_is_defined_archive_symbol): Check to see
+       if the symbol is in the common section.
+
+1999-12-10  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h (elf_link_is_defined_archive_symbol): New
+       function: Decide if a symbol, in an archive map is there
+       because it is defined in the archive element, or because it is
+       just another common declaration of it.
+       (elf_link_add_archive_symbols): Use
+       elf_link_is_defined_archive_symbol to decide if an archive
+       element contain a reference to a common symbol should be
+       linked in or not.
+
+1999-12-10  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h: Revert previous patch.
+       * targets.c: Revert previous patch.
+       * libbfd-in2.h: Revert previous patch.
+       * libbfd.h: Revert previous patch.
+       * elfxx-target.h: Revert previous patch.
+       * archive.c: Revert previous patch.
+       * aout-target.h: Revert previous patch.
+       * aout-tic30.h: Revert previous patch.
+       * bfd.c: Revert previous patch.
+       * coff-alpha.c: Revert previous patch.
+       * coff-rs6000.c: Revert previous patch.
+       * elf64-mips.c: Revert previous patch.
+       * ieee.c: Revert previous patch.
+       * libecoff.h: Revert previous patch.
+       * oasys.c: Revert previous patch.
+       * som.c: Revert previous patch.
+       * vms.c: Revert previous patch.
+
+1999-12-09  Nick Clifton  <nickc@cygnus.com>
+
+       * elflink.h (elf_link_add_archive_symbols): Add an archive
+        element even if contains a symbol which is currently only
+        considered to be a common.
+
+       * targets.c (struct bfd_target): Add new field
+       _bfd_allow_commons_in_armap.
+       * bfd-in2.h:Regenerate.
+
+       * libbfd-in2.h (_bfd_noarchive_allow_commons_in_armap):
+       Define.
+        (_bfd_archive_bsd_allow_commons_in_armap): Define.
+       * libbfd.h: Regenerate.
+
+       * elfxx-target.h: If using COFF archive map, override
+       definition of allow_commons_in_armap and replace with
+       bfd_false.
+
+       * archive.c (bfd_compute_and_write_armap): Do not place common
+       symbols into the archive map unless _bfd_allow_commons_in_armap
+       returns true.
+
+       * aout-target.h (MY_allow_commons_in_armap): Define.
+       * aout-tic30.h (MY_allow_commons_in_armap): Define.
+       * bfd.c (bfd_allow_commons_in_armap): Define.
+       * coff-alpha.h (alpha_ecoff_allow_commons_in_armap): Define.
+       * coff-rs6000.h (xcoff_allow_commons_in_armap): Define.
+       * elf64-mips.c (bfd_elf64_allow_commons_in_armap): Define.
+       * ieee.c (ieee_ecoff_allow_commons_in_armap): Define.
+       * libecoff.h (_bfd_ecoff_allow_commons_in_armap): Define.
+       * oasys.c (oasys_allow_commons_in_armap): Define.
+       * som.c (som_allow_commons_in_armap): Define.
+       * vms.c (vms_allow_commons_in_armap): Define.
+
+1999-12-07  Jim Blandy  <jimb@cygnus.com>
+
+       Add support for SSE registers in ELF core files.
+       * elf.c (elfcore_make_note_pseudosection): New function.
+       (elfcore_grok_prfpreg): Use it.
+       (elfcore_grok_prxfpreg): New function.
+       (elfcore_grok_note): Recognize Linux NT_PRXFPREG notes.
+
+1999-12-03  Ian Lance Taylor  <ian@zembu.com>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Divide R_MIPS_PC16
+       value by 4 before storing it back in the field.  From
+       Koundinya. K <kk@ddeorg.soft.net>.
+
+Tue Nov 30 22:41:14 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * archures.c (bfd_mach_am33): Define.
+       * bfd-in2.h: Rebuilt.
+       * cpu-m10300.c (bfd_am33_arch): Add to the mn103 architecture list
+       * elf-m10300.c (mn10300_elf_relax_section): Handle am33 instructions.
+       (compute_function_info): Handle additional registers saved by
+       movm on the am33.
+       (elf_mn10300_mach): Handle E_MN10300_MACH_AM33.
+       (_bfd_mn10300_elf_final_write_processing): Handle bfd_mach_am33.
+
+1999-11-29  Jim Blandy  <jimb@cygnus.com>
+
+       * elf.c (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New
+       functions.
+       * bfd-in2.h (bfd_get_elf_phdrs, bfd_get_elf_phdr_upper_bound): New
+       declarations.
+
+1999-11-27  Michael Meissner  <meissner@cygnus.com>
+
+       * reloc.c (BFD_RELOC_ALPHA_USER_LITERAL): New relocation for
+       internal use within gas for alpha explicit relocations.
+       (BFD_RELOC_ALPHA_USER_LITUSE_BASE): Ditto.
+       (BFD_RELOC_ALPHA_USER_LITUSE_BYTOFF): Ditto.
+       (BFD_RELOC_ALPHA_USER_LITUSE_JSR): Ditto.
+       (BFD_RELOC_ALPHA_USER_GPDISP): Ditto.
+       (BFD_RELOC_ALPHA_USER_GPRELHIGH): Ditto.
+       (BFD_RELOC_ALPHA_USER_GPRELLOW): Ditto.
+
+       * elf64-alpha.c (elf64_alpha_reloc_map): Add mappings for
+       BFD_RELOC_ALPHA_USER_*.
+
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+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
+       a defined symbol in a shared library, clear the DEF_DYNAMIC flag
+       too.
+
 Fri Oct  8 13:03:45 1999  Geoffrey Keating  <geoffk@cygnus.com>
 
        * elf32-mips.c (mips_elf_calculate_relocation): R_MIPS_LITERAL
This page took 0.026021 seconds and 4 git commands to generate.