* coffgen.c (coff_print_symbol): Make names for section number and
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index fc6da56d90ae70f3e898487c271a4084e5d131a6..86a6838415ceba7eddf6b74962d76d94ef470032 100644 (file)
@@ -1,5 +1,217 @@
+Wed Oct 19 13:28:29 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * coffgen.c (coff_print_symbol): Make names for section number and
+       storage class slightly more verbose.  It's not clear how many
+       characters I can justify using up, but before this change they
+       both were abbreviated "sc" which is (IMHO) clearly unacceptable.
+
+Wed Oct 19 01:26:39 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * binary.c (binary_set_section_contents): Set the base file
+       position from the lowest section VMA, not the start address.
+
+       * aoutx.h (NAME(aout,slurp_symbol_table)): Don't return an error
+       if there are no symbols.
+       * coffgen.c (coff_get_normalized_symtab): Likewise.
+       * hp300hpux.c (MY(slurp_symbol_table)): Likewise.
+
+Tue Oct 18 12:56:43 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * aout-target.h (MY_bfd_copy_private_section_data): Only copy
+       subformat to another bfd_target_aout_flavour file.
+
+       * binary.c: New file for raw binary output format.
+       * Makefile.in (BFD_LIBS): Add binary.o.
+       (CFILES): Add binary.c.
+       * targets.c (binary_vec): Declare.
+       (bfd_target_vector): Include binary_vec.
+
+       * srec.c (tdata_type): Add field tail.
+       (srec_mkobject): Initialize tail.
+       (srec_set_section_contents): Sort S record list by address.
+
+Mon Oct 17 11:38:16 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * elfcode.h (elf_map_symbols): Sort the symbols into a new array,
+       rather than messing with Elf_Sym_Extra.  Store the symbol index in
+       the udata.i field.
+       (swap_out_syms): Use outbound_syms as a pointer rather than as an
+       array.  Don't worry about elf_sym_num.
+       * libelf.h (struct elf_sym_extra): Don't define.
+       (Elf_Sym_Extra): Don't define.
+       (struct elf_obj_tdata): Remove sym_extra field.
+       (elf_sym_extra): Don't define.
+       * elf32-hppa.c (elf32_hppa_backend_final_write_processing): Use
+       udata.i rather than elf_sym_extra array.
+
+       * syms.c (asymbol): Change udata field into a union.
+       * bfd-in2.h: Rebuild.
+       * aoutx.h (NAME(aout,translate_symbol_table)): Use udata.p rather
+       than just udata.
+       * bout.c (perform_slip): Likewise.
+       * hp300hpux.c (MY(slurp_symbol_table)): Likewise.
+       * ieee.c (ieee_slurp_external_symbols): Likewise.
+       * linker.c (generic_link_add_symbol_list): Likewise.
+       (default_indirect_link_order): Likewise.
+       * oasys.c (oasys_slurp_symbol_table): Likewise.
+       * reloc16.c (bfd_perform_slip): Likewise.
+       * srec.c (fillup_symbols): Likewise.
+       * coffcode.h (get_index): Use udata.i rather than just udata.
+       (coff_slurp_symbol_table): Likewise.
+       * coffgen.c (set_index): Likewise.
+       * ecoff.c (ecoff_set_symbol_info): Likewise.
+       * elfcode.h (elf_symbol_from_bfd_symbol): Likewise.
+       * libecoff.h (ecoff_get_sym_index, ecoff_set_sym_index): Likewise.
+       * som.c (compare_syms): Likewise.
+       (som_prep_for_fixups): Likewise.
+       (som_write_fixups): Likewise.
+
+       Use a hash table when writing out ELF symbol names.
+       * elfcode.h (elf_stringtab_init): New static function.
+       (bfd_new_strtab, bfd_add_to_strtab, bfd_add_2_to_strtab): Remove.
+       Change all callers to use elf_stringtab_init or
+       _bfd_stringtab_add, and get stringtab lengths using
+       _bfd_stringtab_size.
+       (elf_fake_sections): Change ignored argument to pointer to
+       boolean, and set the boolean to true if an error occurs.  If an
+       error has already occurred, don't do anything.
+       (assign_section_numbers): Just set sh_size, not contents.
+       (elf_compute_section_file_positions): Pass the address of a
+       boolean to elf_fake_sections.  Pass the address of a
+       bfd_strtab_hash to swap_out_syms.  Write out the .strtab section.
+       (prep_headers): Change shstrtab to bfd_strtab_hash.
+       (swap_out_syms): Take a pointer to a bfd_strtab_hash as an
+       argument.  Set it to the symbol names.
+       (NAME(bfd_elf,write_object_contents)): Write out the section
+       header names using _bfd_stringtab_emit.
+       (elf_debug_section): Remove first argument; get the section name
+       via the bfd_section pointer.  Change caller.
+       (elf_bfd_final_link): Write out the symbol names using
+       _bfd_stringtab_emit.  Likewise for the .dynstr section contents.
+       Free the symbol names at the end of the function.
+       (elf_link_input_bfd): Remove the last argument, output_names,
+       from relocate_section.  Save the old symbol contents before
+       calling elf_link_output_sym, and restore them afterward.
+       * libelf.h (struct elf_link_hash_table): Change dynstr field to
+       struct bfd_strtab_hash.
+       (struct elf_backend_data): Remove last argument, output_names,
+       from elf_backend_relocate_section field.
+       (struct strtab): Don't define.
+       (struct elf_obj_tdata): Change strtab_ptr field to struct
+       bfd_strtab_hash.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Remove last
+       argument, output_names.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+
+       * libbfd-in.h (DEFAULT_STRING_SPACE_SIZE): Don't define.
+       (bfd_add_to_string_table): Don't declare.
+       * libbfd.h: Rebuild.
+       * libbfd.c (bfd_add_to_string_table): Remove.
+
+       * elfcode.h (elf_swap_shdr_in): Use bfd_section, not rawdata.
+       Clear contents field.
+       (bfd_section_from_shdr): In SHT_STRTAB case, check bfd_section,
+       not rawdata.  Don't set rawdata if e_shstrndx.  Use bfd_section
+       rather than rawdata in commented out code.  In SHT_REL[A] case,
+       don't bother to check elf_section_data of section returned by
+       section_from_elf_index.
+       (elf_fake_sections): Set bfd_section, not rawdata.  Don't set
+       size.
+       (elf_map_symbols): Don't set elf_num_section_syms.  Don't create
+       section symbols that already exist.
+       (assign_file_position_for_section): Use bfd_section, not rawdata.
+       (section_from_elf_index): Just check bfd_section field.
+       (elf_section_from_bfd_section): Likewise.
+       (elf_debug_section): Don't print rawdata, contents, or size.
+       (elf_link_add_object_symbols): Don't error out if
+       section_from_elf_index returns NULL.
+       (elf_bfd_final_link): Check return value from
+       section_from_elf_index against NULL, not bfd_is_abs_section.
+       (elf_link_input_bfd): Don't check section_from_elf_index return
+       value.
+       * libelf.h (struct elf_obj_tdata): Remove num_section_syms field.
+       (elf_num_section_syms): Don't define.
+       * elf.c (elf_get_str_section): Store section contents in contents
+       field rather than rawdata field.
+       (elf_string_from_elf_section): Likewise.
+       (_bfd_elf_make_section_from_shdr): Store BFD section pointer in
+       bfd_section field rather than rawdata field.
+       * elf32-hppa.c (elf32_hppa_read_symext_info): Use bfd_section
+       rather than rawdata.
+       (elf32_hppa_size_stubs): Likewise.
+       (elf32_hppa_backend_symbol_table_processing): Don't set
+       symextn_hdr->size; just use sh_size.
+       * elf32-mips.c (mips_elf_final_write_processing): Use bfd_section
+       rathern than rawdata.
+       (mips_elf_section_from_shdr): Likewise.
+       (mips_elf_section_processing): Likewise.
+       (mips_elf_section_from_bfd_section): Remove rawdata check.
+
+       * srec.c (pass_over): Set the start address for S7, S8 or S9.
+
+Fri Oct 14 19:15:46 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * VERSION: Updated to 2.5.
+
+Fri Oct 14 11:07:50 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * bfd.c (bfd_scan_vma): Cast end to be non const before passing it
+       to strtoul.
+
+Thu Oct 13 14:40:41 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
+
+Wed Oct 12 16:46:43 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * opncls.c (bfd_realloc): Deleted, since it's broken and fixing it
+       would make it slow.  Besides, it isn't used much.
+       * elfcode.h (elf_map_symbols): Always allocate new storage for the
+       symbol table.
+
+Wed Oct 12 11:54:37 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * ecoff.c (ecoff_set_symbol_info): Mark local stProc, stLabel or
+       stabs symbols as BSF_DEBUGGING.
+
+       * rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
+       str1 and str2 const pointers.
+
+       * Makefile.in (INSTALL): Use top level install.sh script.
+       * config/README (INSTALL): Remove.
+       * config/delta88.mh (INSTALL): Remove.
+       * config/i386v4.mh (INSTALL): Remove.
+       * config/irix4.mh (INSTALL): Remove.
+       * config/irix5.mh (INSTALL): Remove.
+       * config/ncrt3000.mh (INSTALL): Remove.
+
+Tue Oct 11 13:57:56 1994  Eric Youngdale  (eric@andante.aib.com)
+
+       * elf32-i386.c (elf_i386_check_relocs): Make sure that a symbol
+       with a global offset table entry or a procedure linkage table
+       entry is added to the dynamic symbol table.
+       * elf32-sparc.c (elf32_sparc_check_relocs): Likewise.
+       * elf32-i386.c (elf_i386_adjust_dynamic_symbol): If a symbol has
+       already gotten a procedure linkage table entry, change the
+       definition to the PLT entry.
+       * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
+
+Tue Oct 11 17:12:00 1994  Ian Lance Taylor  <ian@sanguine.cygnus.com>
+
+       * lynx-core.c (lynx_core_file_p): SPARC Lynx appears to start
+       dumping the .data section in a core file at a page boundary.
+
 Mon Oct 10 16:24:44 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
+       * cofflink.c (_bfd_coff_final_link): Cast argument to bfd_h_put_32
+       to correct type.
+       (coff_read_string_table): Cast argument to bfd_h_get_32 to correct
+       type.
+       * elfcode.h (elf_link_output_extsym): Cast argument to
+       bfd_elf_hash to correct type.
+
        * elf32-sparc.c (elf_sparc_howto_table): The PC10, PC22, and
        WPLT30 relocations are PC-relative.
 
This page took 0.024743 seconds and 4 git commands to generate.