]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
* COPYING: Update FSF address.
[binutils.git] / bfd / ChangeLog
index 295938b14c8929edc9d2102d027fd964c69255c0..013ea63fcf0205c899ce67c4f62ad3b4def937cd 100644 (file)
@@ -1,3 +1,279 @@
+Thu Mar 27 12:55:42 1997  Ian Lance Taylor  <[email protected]>
+
+       * COPYING: Update FSF address.
+
+start-sanitize-d30v
+Thu Mar 27 00:45:57 1997  Martin M. Hunt  <[email protected]>
+
+       * elf32-d30v.c (elf_d30v_howto_table): Fix a typo in the 
+       21-bit absolute that made it act as a relative. 
+
+end-sanitize-d30v      
+Wed Mar 26 14:50:20 1997  Ian Lance Taylor  <[email protected]>
+
+       * elflink.c (_bfd_elf_create_linker_section): Don't set
+       bss_section and rel_section from existing sections.
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Only create the got section
+       if it is needed.
+
+Tue Mar 25 22:26:56 1997  Stu Grossman  ([email protected])
+
+       * aoutx.h (some_aout_object_p):  Change executable test to fix
+       problems with embedded a.out systems.
+
+Tue Mar 25 14:35:37 1997  Ian Lance Taylor  <[email protected]>
+
+       * stabs.c (_bfd_stab_section_offset): New function.
+       * libbfd-in.h (_bfd_stab_section_offset): Declare.
+       * libbfd.h: Rebuild.
+       * elf32-i386.c (elf_i386_relocate_section): Adjust the offset of a
+       stab reloc.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
+
+       * stabs.c (_bfd_link_section_stabs): Copy over the first header
+       symbol.  Check for memory allocation failure of *psinfo.
+       (_bfd_write_section_stabs): Add psinfo parameter.  Change all
+       callers.  Set the value of the header symbol.
+       * libbfd-in.h (_bfd_write_section_stabs): Update declaration.
+       * libbfd.h: Rebuild.
+
+start-sanitize-tic80
+Mon Mar 24 20:07:29 1997  Fred Fish  <[email protected]>
+
+       * coff-tic80.c (tic80_howto_table): Add R_ABS entry.
+       (rtype2howto): Handle R_ABS reloc type.  Also abort on unhandled
+       reloc types, rather than silently failing to generate an output file.
+
+end-sanitize-tic80
+Mon Mar 24 13:41:00 1997  Ian Lance Taylor  <[email protected]>
+
+       * targmatch.sed: Use the hold space to put the #ifdef around the
+       the string constant.
+       * targets.c (UNSUPPORTED_TARGET): Don't define.
+       (find_target): Don't check for UNSUPPORTED_TARGET.
+       (bfd_set_default_target): Don't try to optimize by checking for
+       default.
+
+       * Makefile.in: Rebuild dependencies.
+       (ALL_MACHINES_CFILES): Add cpu-m32r.c.
+       (BFD32_BACKENDS_CFILES): Add elf32-m32r.c.
+       (elf32-m32r.o): Remove explicit target.
+
+       * config.bfd: Don't set targ_underscore for i[3456]86-*-gnu* or
+       i[3456]86-*-linux*.
+
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Don't
+       count section symbols for sections that were created by the
+       linker, or are not allocatable or not loadable.
+       (elf32_sparc_finish_dynamic_sections): Output output section
+       symbols for section for which we made space for them.
+
+Fri Mar 21 13:08:26 1997  Ian Lance Taylor  <[email protected]>
+
+       * elf32-sparc.c (elf32_sparc_size_dynamic_sections): If there is
+       no .rela.plt section, don't output a DT_PLTGOT dynamic entry.
+
+Fri Mar 21 12:36:46 1997  Doug Evans  <[email protected]>
+
+       * elf32-m32r.c (m32r_elf_howto_table): Use special function for LO16.
+       (m32r_hi16_list): New static local.
+       (m32r_elf_hi16_reloc): Don't perform reloc, just queue it up.
+       (m32r_elf_do_hi16_reloc): Delete.
+       (m32r_elf_relocate_hi16): New function.
+       (m32r_elf_lo16_reloc): New function.
+       (m32r_elf_relocate_section): For HI16 relocs, scan for corresponding
+       LO16 reloc.
+
+       Mon Mar 10 16:03:31 1997  Doug Evans  <[email protected]>
+
+       * elf32-m32r.c (m32r_elf_create_linker_section): Delete.
+       (m32r_elf_add_symbol_hook): Rewrite _SDA_BASE_ support.
+       (m32r_elf_final_sda_base): New function.
+       (m32r_elf_relocate_section): Rewrite sdata support.
+       (m32r_elf_finish_dynamic_sections): Delete.
+
+Thu Mar 20 12:39:02 1997  Ian Lance Taylor  <[email protected]>
+
+       Based on patches from Philippe De Muyter <[email protected]>.
+       * coff-svm68k.c: New file.  Just defines some macros and includes
+       coff-m68k.c.
+       * coff-m68k.c: Add functions to handle common addends, moved in
+       from cf-m68klynx.c.  Control them using COFF_COMMON_ADDEND macro.
+       Control whether relocs are visible using STATIC_RELOCS.
+       * cf-m68klynx.c: Simplify greatly: just define macros to control
+       coff-m68k.c.
+       * coff-aux.c: Likewise.  Just leave add_one_symbol routine.
+       * targets. (m68ksysvcoff_vec): Declare.
+       (bfd_target_vector): Add m68ksysvcoff_vec.
+       * config.bfd (m68*-motorola-sysv*): New target.
+       * configure.in (m68ksysvcoff_vec): New vector.
+       * configure: Rebuild.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add coff-svm68k.o.
+       (BFD32_BACKENDS_CFILES): Add coff-svm68k.c.
+
+       * binary.c (binary_set_section_contents): Don't get misled if the
+       first section is not loadable.  From Matthew L. Martin
+       <[email protected]>.
+
+       * elflink.h (elf_bfd_final_link): Set the value of a section
+       symbol to the section address unless doing a relocateable link.
+
+Tue Mar 18 23:03:17 1997  Richard Henderson  <[email protected]>
+
+       * elf64-alpha.c (elf64_alpha_adjust_dynamic_symbol): Don't create
+       .plt entry if we've taken the function's address.
+       (elf64_alpha_merge_gots): Merge collected flags info as well.
+
+Tue Mar 18 22:40:09 1997  H.J. Lu  <[email protected]>
+
+       * Many files: Add function prototypes.
+       * cpu-m68k.c (bfd_default_scan_num_mach): Don't declare.
+       * ecofflink.c: Include "libcoff.h" and "libecoff.h".
+       * elf32-ppc.c (ppc_elf_fake_sections): Make static.
+       * opncls.c (bfd_openstreamr): Change stream parameter to PTR.
+       * peicode.h: Change several void * parameters to PTR.
+       * srec.c (srec_get_symbol_info): Make static.
+       * syms.c (bfd_symbol_is_absolute): Remove.
+       * Makefile.in: Rebuild dependencies.
+
+Tue Mar 18 12:58:08 1997  Ian Lance Taylor  <[email protected]>
+
+       * elf32-m32r.c (m32r_elf_is_local_label_name): Remove.
+       (bfd_elf32_bfd_is_local_label): Don't define.
+
+       * xcofflink.c (_bfd_xcoff_bfd_final_link): Call bfd_malloc rather
+       than malloc.
+
+Mon Mar 17 11:32:53 1997  Ian Lance Taylor  <[email protected]>
+
+       * bfd-in.h: Don't include obstack.h.
+       (struct bfd_hash_table): Change memory field to PTR.
+       * bfd.c (struct _bfd): Change memory field to PTR.
+       * bfd-in2.h: Rebuild.
+       * libbfd-in.h (bfd_release): Declare as function, don't define as
+       macro.
+       * libbfd.h: Rebuild.
+       * opncls.c: Include "objalloc.h" rather than "obstack.h".  Use
+       objalloc routines rather than obstack routines.
+       (obstack_chunk_alloc, obstack_chunk_free): Don't define.
+       (getpagesize): Don't define.
+       (_bfd_new_bfd): Don't set _bfd_chunksize.
+       (bfd_openr): Free new bfd and objalloc on failure.
+       (bfd_fdopenr, bfd_openstreamr, bfd_openw): Likewise.
+       (bfd_alloc_size): Remove.
+       (bfd_release): New function.
+       * hash.c: Include "objalloc.h" rather than "obstack.h".  Use
+       objalloc routines rather than obstack routines.
+       (obstack_chunk_alloc, obstack_chunk_free): Don't define.
+       * ecofflink.c: Include "objalloc.h" rather than "obstack.h".  Use
+       objalloc routines rather than obstack routines.
+       (obstack_chunk_alloc, obstack_chunk_free): Don't define.
+       (struct accumulate): Change memory to struct objalloc *.
+       * liboasys.h (oasys_data_type): Remove oasys_obstack field.
+       * dep-in.sed: Don't remove obstack.h from dependency list.
+       * Makefile.in: Rebuild dependencies.
+       (BFD_H_DEPS): Remove obstack.h.
+       (install): Don't install obstack.h.
+       * Many files: Don't include "obstack.h".
+       * VERSION: Bump.
+
+       * opncls.c (bfd_alloc_grow, bfd_alloc_finish): Remove.
+       * libbfd-in.h (bfd_alloc_grow, bfd_alloc_finish): Don't declare.
+       * libbfd.h: Rebuild.
+       * ieee.c (ieee_archive_p): Rewrite to not use bfd_alloc_grow.
+       * sunos.c (sunos_add_dynamic_symbols): Likewise.
+       * srec.c (srec_scan): Rewrite to not use obstack_1grow.
+
+       * opncls.c (bfd_alloc): Rename from bfd_alloc_by_size_t.  Remove
+       old version of bfd_alloc.
+       * libbfd-in.h (bfd_alloc_by_size_t): Don't declare.
+       * libbfd.h: Rebuild.
+       * Several files: Call bfd_alloc rather than bfd_alloc_by_size_t.
+
+Sat Mar 15 15:24:18 1997  Ian Lance Taylor  <[email protected]>
+
+       * elf32-mips.c (mips_elf_is_local_label_name): Accept the generic
+       ELF local label syntax as well.
+
+Sat Mar 15 10:16:42 1997  Fred Fish  <[email protected]>
+
+       * config.bfd (powerpc-*-beos*): New target.
+       * configure.in (powerpc-*-beos*): Add case that explicitly
+       does not set COREFILE for now.  A future BeOS version is
+       expected to support core files.
+       * configure: Regenerate with autoconf.
+
+Fri Mar 14 16:43:22 1997  Ian Lance Taylor  <[email protected]>
+
+       * elf32-mips.c (mips_elf_check_relocs): Give an error if CALL16 is
+       seen with a local symbol, rather than crashing.
+
+       * elfcode.h (elf_slurp_symbol_table): Don't try to read the
+       version symbols if there aren't any.
+
+start-sanitize-tic80
+Thu Mar 13 16:38:30 1997  Fred Fish  <[email protected]>
+
+       * coff-tic80.c (coff_rtype_to_howto): Define
+       (coff_tic80_rtype_to_howto): Clone generic coff version and
+       add code to handle the funky TI "internal relocations".
+
+end-sanitize-tic80
+Thu Mar 13 14:08:53 1997  Ian Lance Taylor  <[email protected]>
+
+       * elflink.h (elf_link_add_object_symbols): Don't warn about type
+       or size changes because of a weak symbol.
+
+       * cisco-core.c (SIGEMT): Define if not defined.
+
+Wed Mar 12 21:36:05 1997  Ian Lance Taylor  <[email protected]>
+
+       * elflink.h (elf_link_add_object_symbols): Use extsymoff when
+       setting ever.  Sanity check the version number.  Sort out copying
+       flags and other information when adding an indirect symbol.
+       (NAME(bfd_elf,size_dynamic_sections)): Preserve any dynamic
+       symbols added by the backend.  Clear the entire contents of the
+       versym section.
+       (elf_export_symbol): Ignore indirect symbols.
+       (elf_link_output_extsym): Accept a section without an owner in an
+       assert.
+       * elfcode.h (elf_slurp_symbol_table): Add a sanity check on the
+       version count.  Correct the allocation of x_versymp.
+
+       * elf32-mips.c (mips_elf_add_symbol_hook): Don't set the owner of
+       the magic sections used for SHN_MIPS_TEXT and SHN_MIPS_DATA.
+       Don't return bfd_und_section_ptr when info->shared.
+       (mips_elf_final_link): Set the alignment of .rtproc to 4, not 12.
+       (mips_elf_create_dynamic_sections): Correct type: ^= for &=.
+       (mips_elf_check_relocs): Resolve an indirect symbol in
+       sym_hashes.
+       (mips_elf_finish_dynamic_symbol): Don't change SHN_ABS into
+       SHN_MIPS_TEXT or SHN_MIPS_DATA.
+
+       * elf.c (bfd_elf_print_symbol): Tweak version output slightly.
+
+Tue Mar 11 01:38:36 1997  Ian Lance Taylor  <[email protected]>
+
+       From Eric Youngdale <[email protected]>:
+       * elf-bfd.h (ELF_LINK_FORCED_LOCAL): Define.
+       * elf.c (bfd_elf_print_symbol): Correct errors in last change.
+       * elflink.h (elf_link_add_object_symbols): Handle cases in which a
+       versioned symbol appears in both a regular and a shared object.
+       (elf_link_assign_sym_version): Set ELF_LINK_FORCED_LOCAL when
+       appropriate.  Improve error message.
+       (struct elf_outext_info): Rename from elf_finfo_failed.  Change
+       all uses.  Add localsyms field.
+       (elf_bfd_final_link): When generating a shared library, call
+       elf_link_output_extsym to output all local symbols.
+       (elf_link_output_extsym): Handle symbols which were forced to
+       become local.
+
 Sun Mar  9 23:08:49 1997  Ian Lance Taylor  <[email protected]>
 
        From Eric Youngdale <[email protected]>:
@@ -80,14 +356,12 @@ end-sanitize-tic80
        * coff-w65.c: Ditto
        * coff-z8k.c: Ditto.
        
-start-sanitize-m32r
 Wed Mar  5 13:59:09 1997  Doug Evans  <[email protected]>
 
        * elf32-m32r.c (m32r_elf_do_10_pcrel_reloc): Fix overflow calc.
        (m32r_elf_relax_section, m32r_elf_relax_delete_bytes,
        m32r_elf_get_relocated_section_contents): First pass at relax support.
 
-end-sanitize-m32r
 Mon Mar  3 13:27:09 1997  Ulrich Drepper  <[email protected]>
 
        * elflink.h (elf_link_add_object_symbols): Use correct sh_size
@@ -294,7 +568,6 @@ Fri Feb 21 16:15:18 1997  Jeffrey A Law  ([email protected])
        relaxing.  Implement abs24 -> abs16, imm24 -> imm16 and d24 -> d16
        relaxing.
 
-start-sanitize-m32r
 Fri Feb 21 13:55:14 1997  Doug Evans  <[email protected]>
 
        * elf32-m32r.c: Rewrite to use ELF backend linker.
@@ -303,7 +576,6 @@ Fri Feb 21 13:55:14 1997  Doug Evans  <[email protected]>
        * reloc.c: Document BFD_RELOC_M32R_SDA16.
        * bfd-in2.h,libbfd.h: Regenerated.
 
-end-sanitize-m32r
 Thu Feb 20 23:50:31 1997  Jeffrey A Law  ([email protected])
 
        * elf32-mn10200.c (mn10200_elf_relax_section): New function.
@@ -412,13 +684,11 @@ Tue Feb 11 15:27:32 1997  Ian Lance Taylor  <[email protected]>
        * reloc.c (BFD_RELOC_MIPS16_GPREL): Define.
        * bfd-in2.h, libbfd.h: Rebuild.
 
-start-sanitize-m32r
 Mon Feb 10 23:25:00 1997  Doug Evans  <[email protected]>
 
        * elf32-m32r.c (elf_m32r_howto_table): Change partial_inplace to true
        for R_M32R_{16,32,24,HI16_ULO,HI16_SLO,LO16}.
 
-end-sanitize-m32r
 start-sanitize-r5900
         Fri Feb  7 16:20:17 1997  Gavin Koch   <[email protected]>
         
@@ -483,14 +753,12 @@ Wed Jan 29 00:00:49 1997  Jeffrey A Law  ([email protected])
        (elf_mn10200_howto_table): Likewise.
        (mn10200_reloc_map): Likewise.
 
-start-sanitize-m32r
 Mon Jan 27 12:07:35 1997  Doug Evans  <[email protected]>
 
        * reloc.c: Add relocs BFD_RELOC_M32R_{HI16_[US]LO,LO16}.
        * bfd-in2.h, libbfd.h: Regenerated.
        * elf32-m32r.c: Add support for them.
 
-end-sanitize-m32r
 Mon Jan 27 12:25:02 1997  Ian Lance Taylor  <[email protected]>
 
        * aout-arm.c (MY_swap_std_reloc_in): Remove unused r_length.
@@ -966,13 +1234,11 @@ Mon Nov 11 10:37:02 1996  Michael Meissner  <[email protected]>
        appropriate relocations in the .so file if shared.
        (ppc_elf_relocate_section): Ditto.
 
-start-sanitize-m32r
 Tue Oct 29 15:03:02 1996  Doug Evans  <[email protected]>
 
        * elf32-m32r.c (elf_m32r_howto_table, R_M32R_24): Use
        complain_overflow_unsigned.
 
-end-sanitize-m32r
 Tue Oct 29 12:53:46 1996  Martin M. Hunt  <[email protected]>
 
        * elf32-d10v.c (elf_d10v_howto_table): Don't complain on
@@ -1060,7 +1326,6 @@ Mon Oct 21 10:54:58 1996  Ian Lance Taylor  <[email protected]>
        when attempting to do a relocateable link with different object
        file formats, rather than calling abort.
 
-start-sanitize-m32r
 Thu Oct 17 10:43:29 1996  Doug Evans  <[email protected]>
 
        * reloc.c (m32r relocs): Rename them.
@@ -1070,7 +1335,6 @@ Thu Oct 17 10:43:29 1996  Doug Evans  <[email protected]>
        (elf_m32r_howto_table, R_M32R_10_PCREL entry): Use it.
        (elf_m32r_howto_table, R_M32R_24 entry): Fix {src,dst}_masks.
 
-end-sanitize-m32r
 Wed Oct 16 11:24:35 1996  Jeffrey A Law  ([email protected])
 
        * linker.c (_bfd_generic_final_link): Set "linker_mark" for
@@ -1317,14 +1581,12 @@ Mon Sep 23 13:33:00 1996  Ian Lance Taylor  <[email protected]>
        * elf32-ppc.c (ppc_elf_add_symbol_hook): Create the .sbss section
        by hand, rather than by calling bfd_make_section.
 
-start-sanitize-m32r
 Mon Sep 23 09:23:41 1996  Doug Evans  <[email protected]>
 
        * reloc.c: Rename m32r relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.
        * elf32-m32r.c: Update.
 
-end-sanitize-m32r
 Fri Sep 20 11:43:43 1996  Ian Lance Taylor  <[email protected]>
 
        * aoutx.h (aout_link_input_section_ext): When doing a relocateable
@@ -1393,14 +1655,12 @@ Fri Sep 13 15:50:57 1996  Ian Lance Taylor  <[email protected]>
        R_PARISC_DIR32, so that _bfd_stab_section_find_nearest_line passes
        its sanity check.
 
-start-sanitize-m32r
 Thu Sep 12 11:45:57 1996  Doug Evans  <[email protected]>
 
        * reloc.c: Add m32r relocs.
        * bfd-in2.h, libbfd.h: Rebuilt.
        * cpu-m32r.c,elf32-m32r.c: New files.
 
-end-sanitize-m32r
 Thu Sep 12 11:10:05 1996  Ian Lance Taylor  <[email protected]>
 
        * ieee.c (ieee_vec): Set symbol_leading_char field to '_'.
@@ -1498,18 +1758,14 @@ Tue Sep 10 16:18:30 1996  Fred Fish  <[email protected]>
        (copy_name): Ditto.
        * syms.c (coff_section_type): Ditto.
        
-start-sanitize-m32r
 Mon Sep  9 22:36:01 1996  Jeffrey A Law  ([email protected])
 
        * bfd-in2.h: Rebuilt after m32r changes.
 
-end-sanitize-m32r
 Mon Sep  9 12:31:22 1996  Doug Evans  <[email protected]>
 
-start-sanitize-m32r
        * config.bfd,configure.in,configure: Add m32r support.
        * Makefile.in,archures.c,elf.c,targets.c: Likewise.
-end-sanitize-m32r
        * config.bfd: Keep target list alphabetically sorted.
 
 start-sanitize-v850
This page took 0.047481 seconds and 4 git commands to generate.