]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
start-sanitize-m32r
[binutils.git] / bfd / ChangeLog
index 3e0ed6fb93d5ade654e94051df9f829e36728dfb..ca7461f4f2cc10fde3212ed203f976472dd54081 100644 (file)
@@ -1,3 +1,332 @@
+Tue Mar 18 12:58:08 1997  Ian Lance Taylor  <[email protected]>
+
+start-sanitize-m32r
+       * elf32-m32r.c (m32r_elf_is_local_label_name): Remove.
+       (bfd_elf32_bfd_is_local_label): Don't define.
+
+end-sanitize-m32r
+       * 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]>:
+       * elf-bfd.h (elf_symbol_type): Add version field.
+       * elfcode.h (elf_slurp_symbol_table): Set version field.
+       * elflink.h (elf_link_add_object_symbols): When creating an
+       indirect symbol for a default version symbol, set DEF_DYNAMIC if
+       appropriate.  Set up an indirection from the nondefault version of
+       the symbol as well.
+       (NAME(bfd_elf,size_dynamic_sections)): Call
+       elf_link_assign_sym_version before checking whether there are any
+       versions.  Always record the version name as a dynamic symbol.
+       Initialize counters.
+       (elf_link_assign_sym_version): After finding a version, see if a
+       symbol should be forced to local scope.  Create a new version
+       definition if appropriate.
+       (elf_link_output_extsym): Correct indirect symbol handling.
+       * elf.c (bfd_elf_print_symbol): Print version information.
+       (bfd_section_from_shdr): Turn version sections into BFD sections.
+       (elf_fake_sections): Only copy cverdefs and cverrefs into sh_info
+       if sh_info is not already set.
+       (_bfd_elf_copy_private_section_data): Copy sh_info for version
+       sections.
+       * elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell
+       _bfd_stringtab_add to copy the name into permanent memory if
+       appropriate.
+
+Fri Mar  7 11:55:31 1997  H.J. Lu  <[email protected]>
+
+       * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Fully parenthesize.
+
+Fri Mar  7 10:37:30 1997  Ian Lance Taylor  <[email protected]>
+
+       * coffcode.h (bfd_coff_backend_data): Change
+       _bfd_coff_compute_section_file_positions to return a boolean
+       value.  Change all callers.
+       (coff_compute_section_file_positions): Change return type to
+       boolean.  If the size of the last section changed, then output a
+       zero byte at the end of the file.
+       * libcoff.h: Rebuild.
+
+       * xcofflink.c (_bfd_xcoff_bfd_final_link): Always allocate space
+       for at least 6 output symbols.
+       (xcoff_write_global_symbol): When emitting TOC entry relocs, also
+       emit a TC csect to represent the space they take up.  For an XO
+       symbol, just emit a reference, not a csect.
+
+       * Makefile.in ($(SHLINK)): Just use ln -s, not ln -sf, since
+       Solaris doesn't like the combined options, and the -f is
+       unnecessary.
+       (stamp-tshlink, install): Likewise.
+
+       * elf32-mips.c (mips_elf_relocate_section): Correct R_MIPS16_26
+       handling when little endian.
+
+Thu Mar  6 13:51:51 1997  Jeffrey A Law  ([email protected])
+
+       * elf32-mn10300.c (mn10300_elf_final_link_relocate): New function.
+       (mn10300_elf_relocate_section): Likewise.
+       (elf_backend_relocate_section): Define.
+
+       * elf32-mn10300.c (reloc_type): Remove PCREL{8,16,32}_{1,2}BYTE
+       relocs.  Replace them with generic PCREL_{8,16,32} relocs.
+       (elf32_mn10300_howto_table): Likewise.
+       (elf32_mn10300_reloc_map): Likewise.
+       (bfd_elf32_mn10300_reloc): Delete unused function.
+
+Thu Mar  6 12:19:59 1997  Fred Fish  <[email protected]>
+
+start-sanitize-tic80
+       * coff-tic80.c (rtype2howto): If passed a relocation type we don't
+       understand, just set the howto field to NULL, and the caller will
+       print an appropriate error message.
+end-sanitize-tic80
+       * coffcode.h (coff_slurp_reloc_table): Pull duplicate declarations and
+       code fragment out of both legs of #ifdef RELOC_PROCESSING ... #endif
+       block.  Use NULL for initializations of "ptr" rather than bare 0.
+       * coff-h8300.c: Fix typo in comment.
+       * coff-h8500.c: Ditto.
+       * 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
+       entry for reading verdef records.
+       Use correct braces for computing increments of extverdaux and
+       exteverdef record pointers.
+
+start-sanitize-tic80
+Sun Mar  2 22:47:54 1997  Fred Fish  <[email protected]>
+
+       * coff-tic80.c (COFF_DEFAULT_SECTION_ALIGNMENT_POWER): Set this to 2
+       instead of 4.
+
+end-sanitize-tic80
+Sun Mar  2 16:25:35 1997  Ian Lance Taylor  <[email protected]>
+
+       * elflink.h (elf_link_find_version_dependencies): Check that
+       DEF_REGULAR is not set as well as checking that DEF_DYNAMIC is
+       set.
+
+start-sanitize-tic80
+Fri Feb 28 16:52:40 1997  Fred Fish  <[email protected]>
+
+       * coffcode.h (coff_set_flags): Add case for TIC80_ARCH_MAGIC.
+
+end-sanitize-tic80
+Fri Feb 28 15:06:45 1997  Ian Lance Taylor  <[email protected]>
+
+       * targets.c (bfd_default_vector): Make non-const.
+       (find_target): New static function, broken out of
+       bfd_find_target.
+       (bfd_set_default_target): New function.
+       (bfd_find_target): Call find_target.  When defaulting, use
+       bfd_default_vector[0] if it is not NULL.
+       * libbfd-in.h (bfd_default_vector): Adjust declaration.
+       * bfd-in2.h, libbfd.h: Rebuild.
+
+       * syms.c (bfd_is_local_label): Return false if the symbol has no
+       name.
+       * coff-i960.c (coff_i960_is_local_label_name): New function.
+       (coff_bfd_is_local_label_name): Define.
+       * coff-m68k.c (m68k_coff_is_local_label_name): New function.
+       (coff_bfd_is_local_label_name): Define.
+       * coff-rs6000.c (xcoff_is_local_label_name): New function.
+       (coff_bfd_is_local_label_name): Define.
+       * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning
+       with .. or _.L_ as local.
+       * elf32-i386.c (elf_i386_is_local_label_name): New function.
+       (bfd_elf32_bfd_is_local_label_name): Define.
+       * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols
+       beginning with $ as local.
+
+Thu Feb 27 18:36:23 1997  Ian Lance Taylor  <[email protected]>
+
+       * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
+       rather than comparing against info->lprefix.
+       * cofflink.c (_bfd_coff_link_input_bfd): Likewise.
+       * elflink.h (elf_link_input_bfd): Likewise.
+       * linker.c (_bfd_generic_link_output_symbols): Likewise.
+       * xcofflink.c (xcoff_link_input_bfd): Likewise.
+
+       * elfxx-target.h (bfd_elfNN_bfd_is_local_label_name): Define as
+       _bfd_elf_is_local_label_name if not already defined.
+       * elf.c (_bfd_elf_is_local_label_name): New function.
+       * elf-bfd.h (_bfd_elf_is_local_label_name): Declare.
+
+       * coff-m88k.c (coff_bfd_is_local_label_name): Define.
+       (m88k_is_local_label_name): New static function.
+
+       * coffcode.h (coff_bfd_is_local_label_name): Define as
+       _bfd_coff_is_local_label_name if not already defined.
+       * coffgen.c (_bfd_coff_is_local_label_name): New function.
+       * libcoff-in.h (_bfd_coff_is_local_label_name): Declare.
+       * libcoff.h: Rebuild.
+       
+       * targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
+       to _bfd_is_local_label_name.
+       (bfd_target): Likewise.
+       * syms.c (bfd_is_local_label): Define as function, not macro.
+       (bfd_is_local_name): Define.
+       * libbfd.c (bfd_generic_is_local_label_name): Rename from
+       bfd_generic_is_local_label, and take a string rather than a
+       symbol.
+       * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define.
+       (_bfd_nosymbols_bfd_is_local_label_name): Define.
+       (bfd_generic_is_local_label): Don't declare.
+       (bfd_generic_is_local_label_name): Declare.
+       * bfd-in2.h, libbfd.h: Rebuild.
+       * All backends: Change local_label to local_label_name.
+
+       * elf32-mips.c (struct mips_got_info): Add assigned_gotno field.
+       (mips_elf_relocate_got_local): Change return type to boolean.
+       Don't assume that the first zero entry is unassigned; instead, use
+       assigned_gotno.
+       (mips_elf_relocate_section): Check return value of
+       mips_elf_relocate_got_local.
+       (mips_elf_create_got_section): Initialize assigned_gotno field.
+
+start-sanitize-d30v
+Wed Feb 26 15:19:51 1997  Martin M. Hunt  <[email protected]>
+
+       * elf32-d30v.c (bfd_elf_d30v_reloc): Add code to do 32-bit
+       relocations.
+
+end-sanitize-d30v      
 Wed Feb 26 13:33:03 1997  Ian Lance Taylor  <[email protected]>
 
        * elflink.h (elf_link_input_bfd): Don't skip symbols from sections
@@ -10,6 +339,7 @@ Tue Feb 25 18:51:35 1997  Stan Shebs  <[email protected]>
        content byteorder instead of header byteorder.
        (ecoff_biglittle_vec): New BFD, big-endian headers, little-endian
        data.
+       * targets.c (bfd_target_vector): Add ecoff_biglittle_vec.
        * configure.in (ecoff_biglittle_vec): Add case.
        * configure: Update.
 
This page took 0.035216 seconds and 4 git commands to generate.