* elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index e75a9f83a78154c8b392c14cca37a45d19e6a3be..7bedf5b999056d9aa81cc7b39f9787065f0a9b5d 100644 (file)
@@ -1,3 +1,376 @@
+Fri Jun 19 17:08:18 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a
+       linker created empty input section if the output section has the
+       same name.
+
+       * elflink.h (elf_link_output_extsym): Print an error message if
+       _bfd_elf_section_from_bfd_section fails.
+
+       * elf.c (_bfd_elf_section_from_bfd_section): Call bfd_set_error on
+       failure.
+
+Tue Jun 16 11:55:55 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf.c (copy_private_bfd_data): Improve handling of Solaris
+       native linker output.  Avoid putting an empty section in more than
+       one segment.
+
+Fri Jun 12 13:30:17 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * po/Make-in (all-yes): If maintainer mode, depend on .pot file.
+       ($(PACKAGE).pot): Unconditionally depend on POTFILES.
+
+Fri Jun 12 13:34:02 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * elf.c (swap_out_syms): New arg relocatable_p.
+       Don't add section VMA to symbols for relocatable output.
+       (_bfd_elf_compute_section_file_positions): Update call to
+       swap_out_syms.
+
+Mon Jun  8 15:20:57 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_perform_relocation): Make comparisons
+       against 'addend' be signed rather than unsigned.
+
+Sat Jun  6 00:31:21 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-m32r.c: Add prototyps for static functions.
+
+       * coff-arm.c: Add prototypes for static functions. 
+
+Fri Jun  5 17:21:51 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf.c (elf_sort_sections): Sort by LMA first then VMA, since the
+       LMA is used to order sections in a segment.
+
+       * elf32-v850.c: Add prototypes for static functions.
+       Change type of addend parameter to bfd_vma in various functions.
+
+Fri Jun  5 18:09:58 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * aoutx.h (howto_table_ext): Change RELOC_BASE13 to use
+       complain_overflow_signed instead of complain_overflow_bitfield.
+
+Fri Jun  5 15:11:11 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elf.c (elf_map_symbols): Don't add section VMA to symbol value
+       when comparing against 0.
+
+Wed Jun  3 17:52:49 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (config.status): New target.
+       * Makefile.in: Rebuild.
+
+start-sanitize-sky
+Wed Jun  3 11:39:57 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_fake_sections): Update to use
+       Elf32_Dvp_External_Overlay instead of 64 bit version.
+
+end-sanitize-sky
+Wed Jun  3 12:18:24 1998  Stan Cox  <scox@equinox.cygnus.com>
+
+       * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Give an
+       error if previous object endianness doesn't match current object.
+
+Tue Jun  2 17:50:59 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_print_private_bfd_data): Call
+       _bfd_elf_print_private)bfd_data ().
+
+Tue Jun  2 15:29:35 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_merge_symbol): Don't always set type_change_ok
+       and size_change_ok.
+       (elf_link_add_object_symbols): Set type_change_ok and
+       size_change_ok before calling elf_merge_symbol.
+
+       * elf32-mips.c (mips_elf_relocate_section): If we issue an
+       undefined symbol error, don't also issue an overflow error.
+
+Tue Jun  2 13:51:00 1998  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * elf32-ppc.c (ppc_elf_relocate_section): The target of an
+       R_PPC_LOCAL24PC relocation should be local; if not, print an error
+       message instead of crashing.
+
+Mon Jun  1 18:23:12 1998  Yuli Barcohen  <yuli.barcohen@telrad.co.il>
+
+       * archures.c (bfd_mach_cpu32): Define.
+       (bfd_default_scan): Add case for 68060.  Fix 68332 case to use
+       bfd_mach_cpu32.
+       * cpu-m68k.c (arch_info_struct): Add m68k:cpu32.
+       * ieee.c: Include <ctype.h>.
+       (ieee_object_p): Parse out process ID string to make it more
+       likely to be acceptable for bfd_scan_arch.
+       * bfd-in2.h: Rebuild.
+
+Mon Jun  1 11:12:02 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-m32r.c (m32r_elf_print_private_bfd_data): Also call
+       _bfd_elf_print_private_bfd_data() so that the program header will
+       be displayed.
+
+Mon Jun  1 12:14:28 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * peicode.h (coff_swap_sym_in): Check for C_SECTION rather than
+       0x68.  Reindent.  Add some comments.
+
+start-sanitize-sky
+Sun May 31 16:11:22 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * elf32-mips.c (_bfd_mips_elf_final_write_processing): Set sh_link
+       field of .DVP.ovlytab to .DVP.ovlystrtab's section index.
+       (_bfd_mips_elf_section_from_shdr): Recognize SHT_DVP_OVERLAY_TABLE
+       and SHT_DVP_OVERLAY.
+       (_bfd_mips_elf_fake_sections): Ditto.
+
+end-sanitize-sky
+Fri May 29 09:58:08 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf.c (copy_private_bfd_data): Adjust physical address of
+       segment in output BFD to contain LMAs of its sections.
+
+Tue May 26 19:37:47 1998  Stan Cox  <scox@equinox.cygnus.com>
+
+       * elf32-sparc.c (_bfd_sparc_elf_howto_table, sparc_reloc_map,
+       elf32_sparc_relocate_section): Added R_SPARC_32LE for little
+       endian data 32 bit relocations.
+       (elf32_sparc_merge_private_bfd_data): Check if linking little
+       endian objects with big endian objects.
+       (elf32_sparc_object_p): Set bfd_mach_sparc_sparclite_le.
+       (elf32_sparc_final_write_processing): Set EF_SPARC_LEDATA in e_flags.
+       * libbfd.h (bfd_reloc_code_real_names): Added BFD_RELOC_SPARC_32LE.
+       * reloc.c: Same.
+       * cpu-sparc.c (arch_info_struct): Added sparc:sparclite_le
+       * archures.c (bfd_mach_sparc_sparclite_le): New.
+       * bfd-in2.h (BFD_RELOC_SPARC_32LE, bfd_mach_sparc_sparclite_le): New.
+
+Thu May 21 16:59:28 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (add_data_entry): Fix precedence of operators in if ()
+       statement. 
+
+Tue May 19 18:41:19 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * bfd-in.h: Move over patch to bfd-in2.h.
+
+       * reloc.c (bfd_check_overflow): Add casts before shifts which may
+       not fit in 32 bits.
+       (_bfd_relocate_contents): Likewise.
+
+Mon May 18 14:44:15 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (add_data_entry): If the section has no private data
+       then do not create a Data Dictionary entry for it.
+
+Mon May 18 00:09:28 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (elf64_alpha_relax_section): Set again on changes.
+       (elf64_alpha_can_merge_gots, elf64_alpha_merge_gots,
+       elf64_alpha_size_got_sections): Rewrite, handling multiple got
+       subsections during relaxation more correctly.
+
+Thu May 14 14:22:58 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * bfd-in2.h: Add new prototype: bfd_coff_set_symbol_class ().
+       Add extra argument to bfd_arm_process_before_allocation ().
+       * bfd-in.h: Reflect changes made in bfd-in2.h.
+       * coffgen.c (bfd_coff_set_symbol_class): New function.  Set the
+       coff class of a BFD symbol.
+       * coff-arm.c: Add support for interworking between Thumb code and
+       non-interworking aware ARM code.
+
+Sun May 10 22:33:59 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * po/Make-in (install-info): New target.
+
+Thu May  7 17:40:56 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * filemode.c: Remove; not used.
+
+       If sysdep.h includes a header file, don't include it again:
+       * aix386-core.c: Don't include <stdio.h>, <stddef.h>, or
+       <errno.h>.
+       * aoutx.h: Don't include <string.h>.  Use "sysdep.h" rather than
+       <sysdep.h>.
+       * archive.c: Don't include <string.h> or <errno.h>.
+       * evax-alpha.c; Don't include <stdio.h>.
+       * evax-egsd.c: Likewise.
+       * evax-etir.c: Likewise.
+       * evax-misc.c: Likewise.
+       * evax-emh.c: Likewise.  Also, don't include <sys/types.h>.
+       * hppabsd-core.c: Don't include <stdio.h>, <sys/types.h>, or
+       <errno.h>.
+       * hpux-core.c: Likewise.
+       * netbsd-core.c: Likewise.
+       * som.c: Likewise.
+       * libbfd.c: Don't include <sys/types.h>.
+       * nlmcode.h: Don't include <string.h>.
+       * osf-core.c: Don't include <string.h> or <stdio.h>.
+       * ptrace-core.c: Don't include <stdio.h>, <sys/types.h>,
+       <errno.h>, or <unistd.h>.
+       * trad-core.c: Don't include <stdio.h> or <sys/types.h>.
+
+Thu May  7 13:12:50 1998  Klaus Kaempf  <kkaempf@progis.de>
+
+       * configure.com: If the version number can not be found in
+       configure.in, set it to "unknown" rather than "2.8.1".
+
+Wed May  6 09:46:05 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * elf32-mips.c (elf_mips_mach): New.
+       (_bfd_mips_elf_object_p): Use elf_mips_mach.
+       (_bfd_mips_elf_final_write_processing): Use the names
+       of machines, rather than the numbers.  Set both the ARCH
+       and MACH in e_flags.  Handle a few more specific machines.
+       (_bfd_mips_elf_merge_private_bfd_data): Merge both
+       EF_MIPS_ARCH and EF_MIPS_MACH.
+
+Tue May  5 21:01:53 1998  Richard Henderson  <rth@cygnus.com>
+
+       * syms.c (bfd_is_local_label): Revert last change.
+       * srec.c (srec_write_symbols): Discard debugging symbols.
+
+Tue May  5 23:36:06 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * som.c: Include <ctype.h>.
+       * som.h: Don't include sysdep.h.
+
+Tue May  5 18:29:24 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * libbfd.h: Rebuilt.
+       * libbfd-in.h: Removed gettext includes and defines.
+       * sysdep.h: Moved gettext-related includes and defines here.
+
+Tue May  5 16:47:54 1998  Richard Henderson  <rth@cygnus.com>
+
+       * srec.c (srec_write_symbols): Use bfd_is_local_label rather than
+       an ad-hoc test.  Kill bogus #if 0 code.
+       * syms.c (bfd_is_local_label): Consider BSF_DEBUGGING symbols local.
+
+Mon May  4 16:10:33 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * sunos.c (sunos_check_dynamic_reloc): Don't use the PLT address
+       when generating a normal executable for a symbol defined in a
+       regular file.  When copying a reloc into the output file, adjust
+       the addend for a PC relative reloc against a global symbol.
+
+Mon May  4 10:08:18 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * libbfd.h: Rebuilt.
+       * libbfd-in.h (_): Define as dgettext.
+
+Mon May  4 11:02:23 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * coff-arm.c (coff_arm_relocate_section): Cast to bfd_signed_vma,
+       not signed.
+       * peicode.h (pe_saved_coff_bfd_print_private_bfd_data): Use PARAMS
+       when declaring parameter types.
+       (pe_saved_coff_bfd_copy_private_bfd_data): Likewise.
+
+Wed Apr 29 15:35:03 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config.bfd: If we include any ELF targets in targ_defvec and/or
+       targ_selvecs, then add the generic ELF targets to targ_selvecs.
+       * elf32-gen.c (dummy): New static const variable.
+       (elf_generic_info_to_howto): New static function.
+       (elf_generic_info_to_howto_rel): New static function.
+       (elf_info_to_howto): Define as elf_generic_info_to_howto.
+       (elf_info_to_howto_rel): Define as elf_generic_info_to_howto_rel.
+       * elf64-gen.c: Same changes as elf32-gen.c.
+       * elfcode.h (elf_object_p): For the generic target, ignore a
+       failure of bfd_default_set_arch_mach.  Fix indentation a bit.
+
+Tue Apr 28 20:05:52 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in (WIN32LIBADD): Add -lintl on cygwin32.
+       * configure: Rebuild.
+
+Tue Apr 28 12:16:57 1998  Jason Molenda  (crash@bugshack.cygnus.com)
+
+       * config.bfd:  Update OSR5/Unixware patterns.
+
+Mon Apr 27 18:02:24 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf.c (assign_file_positions_for_segments): Allow for holes
+       between sections added by a link script.
+
+Mon Apr 27 11:49:55 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Change version number to 2.9.4
+       * configure: Rebuild.
+
+       Based on patch from H.J. Lu <hjl@gnu.org>:
+       * elf.c (bfd_elf_get_bfd_needed_list): New function.
+       * bfd-in.h (bfd_elf_get_bfd_needed_list): Declare.
+       * bfd-in2.h: Rebuild.
+
+Sat Apr 25 20:07:53 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (struct alpha_relax_info): Replace elfsym with other.
+       Change all users.
+
+Sat Apr 25 18:29:07 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (struct alpha_relax_info): Add tsec & elfsym members.
+       (elf64_alpha_relax_section): Fill them in.
+       (elf64_alpha_relax_opt_call): Implement more than a stub.
+       (elf64_alpha_add_symbol_hook): Don't set SEC_LOAD or default 
+       alignment on .scommon.
+       (elf64_alpha_merge_gots): Merge use counts as well.
+
+Sat Apr 25 14:07:29 1998  Richard Henderson  <rth@cygnus.com>
+
+       * elf64-alpha.c (elf64_alpha_relax_section): Use the proper section
+       for calculating a local symbol's address.
+       (elf64_alpha_calc_got_offsets): Skip entries with 0 use count.
+       Set the .got's cooked size as well as the raw size.
+
+Fri Apr 24 09:16:00 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * elf32-v850.c (v850_elf_print_private_bfd_data): Add
+       internationalisation of printed information.
+       
+       * coff-arm.c (coff_arm_print_private_bfd_data): Add
+       internationalisation of printed information.
+
+Fri Apr 24 12:09:18 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * syms.c (struct indexentry): Change directory_name, file_name,
+       and function_name fields to char *.
+       (struct stab_find_info): Change cached_file_name field to char *.
+
+Thu Apr 23 08:13:04 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * peicode.h (dir_names): Add missing N_() macros to dir_names array.
+
+Wed Apr 22 13:06:15 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
+
+Wed Apr 22 17:48:48 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (install-data-local): Make $(includedir).
+       * Makefile.in: Rebuild.
+
+Wed Apr 22 13:06:15 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * libbfd-in.h: Use `gettext' and not `dgettext' for now.
+
+Wed Apr 22 12:53:40 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (INCLUDES): Add -I$(srcdir)/../intl -I../intl.
+       * Makefile.in: Rebuild.
+
+       * bfd-in2.h: Rebuild for Nick's changes.
+
+Tue Apr 21 23:11:51 1998  Richard Henderson  <rth@cygnus.com>
+
+       * archive.c (_bfd_generic_read_ar_hdr_mag): Fix lossage in last
+       change wrt length == max_namelen.
+
 Tue Apr 21 21:19:36 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
 
        * Many files: Added gettext invocations around user-visible
@@ -281,8 +654,10 @@ Fri Mar 27 16:06:02 1998  Ian Lance Taylor  <ian@cygnus.com>
        * elf-bfd.h (elf_linker_section_t): Make alignment unsigned.
        (struct elf_obj_tdata): Make cverdefs and cverrefs unsigned.
        * elf.c (assign_file_positions_for_segments): Always set adjust.
+start-sanitize-d30v
        * elf32-d30v.c (bfd_elf_d30v_reloc): Initialize tmp_addr.  Fully
        parenthesize expression.
+end-sanitize-d30v
        * elf32-m32r.c (m32r_elf_relocate_section): Always initialize h.
        (m32r_elf_object_p): Return a value.
        (m32r_elf_print_private_bfd_data): Change fprintf format string.
@@ -447,10 +822,10 @@ Fri Mar 20 11:25:41 1998  Nick Clifton  <nickc@cygnus.com>
 
        * coff-arm.c (coff_arm_relocate_section): Better error messages
        when interowrking conflucts occur.  Courtesy of Jonathan Walton
-       and Tony Thompson.  PR 15357.
+       and Tony Thompson.
        (aoutarm_std_reloc_howto): Fixed bitsize fields of rightshifted
        relocations.  Patch courtesy of Jonathan Walton and Tony
-       Thompson.  PR 15373.
+       Thompson.
 
 Fri Mar 20 02:26:43 1998  Richard Henderson  <rth@cygnus.com>
 
@@ -641,7 +1016,7 @@ Fri Feb  6 14:48:20 1998  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-v850.c (v850_elf_merge_private_bfd_data): Do not complain
        when merging v850 code into v850e/v850ea code.  Do not initialise
-       output flags if the input is the default architecture.  PR14732.
+       output flags if the input is the default architecture.
 end-sanitize-v850e
 Fri Feb  6 11:50:22 1998  Jeffrey A Law  (law@cygnus.com)
 
@@ -830,8 +1205,8 @@ Tue Jan 27 21:45:15 1998  Jeffrey A Law  (law@cygnus.com)
 
 Tue Jan 27 15:06:04 1998  Nick Clifton  <nickc@cygnus.com>
 
-       * coff-arm.c (coff_arm_relocate_section): Fix for PR14752 by
-       preserving the contents of t2a3_b_insn.
+       * coff-arm.c (coff_arm_relocate_section): Preserve the contents of
+       t2a3_b_insn.
 
 Tue Jan 27 12:47:27 1998  Robert Lipe  <robertl@dgii.com>
 
@@ -947,7 +1322,7 @@ Wed Dec 17 09:45:09 1997  Nick Clifton  <nickc@cygnus.com>
        owner if there is one.
 
        * elf.c (assign_file_positions_for_segments): Fail if there is not
-       enough room for the program headers.  (PR14186)
+       enough room for the program headers.
 
 Tue Dec 16 08:09:56 1997  Gavin Koch  <gavin@cygnus.com>
 
@@ -1087,13 +1462,13 @@ Tue Dec  9 11:37:53 1997  Andrew Cagney  <cagney@b1.cygnus.com>
 Fri Dec  5 11:13:46 1997  Nick Clifton  <nickc@cygnus.com>
 
        * elf32-v850.c (v850_elf_reloc, v850_elf_store_addend_in_insn,
-       v850_elf_relocate_section): Fix PR2 14180 and 14181
+       v850_elf_relocate_section): Fix reloc addend handling.
        (v850_elf_section_from_bfd_section, v850_elf_symbol_processing,
        v850_elf_add_symbol_hook, v850_elf_link_output_symbol_hook,
        v850_elf_section_from_shdr, v850_elf_fake_sections): New functions
-       (for PR14180) to create and handle special common sections.
+       to create and handle special common sections.
        (v850_elf_final_link_relocate): Fix HI16 and HI16_S relocations
-       which have data stored in the instructions.  PR14258.
+       which have data stored in the instructions.
 
 Tue Dec  2 10:26:16 1997  Nick Clifton  <nickc@cygnus.com>
 
This page took 0.097295 seconds and 4 git commands to generate.