* coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check for section
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index b06ede56a9dd8e67c55646bcef83fab845faa257..4fa9cb021a0bbe44cc568831eebb28a116d91fb4 100644 (file)
@@ -1,7 +1,300 @@
+Tue Sep  6 14:00:45 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * coffgen.c (coff_print_symbol, case bfd_symbol_print_all): Check
+       for section symbol, and print its aux fields with appropriate
+       labels.
+
+       * Makefile.in (ALL_MACHINES): Added cpu-arm.o.
+
+Sun Sep 04 17:58:10 1994  Richard Earnshaw (rwe@pegasus.esprit.ec.org)
+
+       * aoutx.h (NAME(aout,machine_type)): Recognize the ARM processor.
+       * archures.c, config.bfd, configure.host, libaout.h, reloc.c,
+       targets.c: Add support for the ARM.
+       * cpu-arm.c, riscix.c, config/riscix.mh, config/riscix.mt: New files.
+
+       * aoutx.h (add_to_stringtable): Check that str isn't a NULL pointer.
+
+Fri Sep  2 14:10:30 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * reloc.c (enum bfd_reloc_code_real): Rewrote definition to use
+       new "chew" commands for simultaneous definition of enumerator and
+       enumerator name table.
+       (bfd_get_reloc_code_name): New function, for retrieving a symbolic
+       name associated with an enumerator.
+       * libbfd.h, bfd-in2.h: Regenerated.
+
+Tue Aug 30 21:24:54 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_write_fixups, case R_ENTRY): Handle case where no
+       unwind descriptor information is available.
+
+Tue Aug 30 11:43:30 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add soname
+       argument, and use it to set DT_SONAME dynamic entry.
+       * bfd-in.h (bfd_elf32_size_dynamic_sections): Update prototype.
+       (bfd_elf64_size_dynamic_sections): Update prototype.
+       * bfd-in2.h: Rebuilt.
+
+Fri Aug 26 15:47:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coffgen.c (coff_real_object_p): Set obj_raw_syment_count.
+       (coff_get_normalized_symtab): Verify obj_raw_syment_count, rather
+       than setting it.
+
+Thu Aug 25 10:44:53 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * archive.c (bsd_write_armap): Remove host dependencies.
+
+       * aoutx.h (add_to_stringtab): Check for _bfd_stringtab_add error
+       before adding BYTES_IN_WORD.
+
+       * coffgen.c (coff_find_nearest_line): Look for the best C_FILE,
+       not merely the first.
+
+       * coffgen.c (coff_write_alien_symbol): If we are not using the
+       symbol, clear the name so that it is not put in the string table.
+       From Antti.Miettinen@ntc.nokia.com.
+
+Wed Aug 24 11:49:19 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coffgen.c (coff_print_symbol): Cast pointer different to long
+       and use %ld to print it.
+       * osf-core.c (osf_core_core_file_p): Remove unused variable
+       dseccnt.
+       * ecoffswap.h (ecoff_swap_ext_out): If ECOFF_64, clear remaining
+       bytes in bits2.
+
+       * configure.host, config.bfd: Change i[34]86 to i[345]86.
+
+       * coffgen.c (coff_real_object_p): Set obj_conv_table_size here,
+       rather than waiting until coff_slurp_symbol_table.
+       (coff_write_alien_symbol): Just ignore BSF_DEBUGGING symbols.
+       From Antti.Miettinen@ntc.nokia.com.
+
+       * section.c (bfd_make_section_anyway): Fix failure check of
+       bfd_make_empty_symbol.  From Antti.Miettinen@ntc.nokia.com.
+
+       * aoutx.h (translate_to_native_sym_flags): Use the output_section
+       (and output_offset) if there is one.
+
+       * aoutx.h (aout_link_check_archive_element): Discard the symbols
+       if the archive element was not needed.
+
+       * aoutx.h (aout_get_external_symbols): Ensure that a zero string
+       index yields an empty string.
+       (aout_link_write_symbols): If info->keep_memory is false, use name
+       from original hash table entry, not from entry in *sym_hash.
+
+       * aoutx.h (struct aout_final_link_info): Add fields contents,
+       relocs, symbol_map and output_syms.
+       (NAME(aout,final_link)): Work out the largest section size, reloc
+       size, and number of symbols.  Use them to preallocate buffers that
+       are large enough for all cases.
+       (aout_link_input_bfd): Use preallocated symbol_map.
+       (aout_link_write_symbols): Remove symbol_map argument; use
+       preallocated symbol_map instead.  Change all callers.  Use
+       preallocated output_syms.
+       (aout_link_input_section): Remove symbol_map argument.  Change all
+       callers.  Use preallocated contents and relocs.
+       (aout_link_input_section_std): Remove symbol_map argument; use
+       preallocated symbol_map instead.  Change all callers.
+       (aout_link_input_section_ext): Likewise.
+
+Tue Aug 23 10:51:09 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * archive.c (_bfd_write_archive_contents): Don't update the
+       symbol map timestamp if there is no symbol map.  From
+       schwab@issan.informatik.uni-dortmund.de (Andreas Schwab).
+
+Mon Aug 22 12:26:42 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * targets.c (BFD_JUMP_TABLE_ARCHIVE): Add _update_armap_timestamp.
+       (bfd_target): Add field _bfd_update_armap_timestamp.
+       * bfd.c (bfd_update_armap_timestamp): Define.
+       * bfd-in2.h: Rebuilt.
+       * libbfd-in.h (_bfd_noarchive_update_armap_timestamp): Define.
+       (_bfd_archive_bsd_update_armap_timestamp): Declare.
+       (_bfd_archive_coff_update_armap_timestamp): Define.
+       * libbfd.h: Rebuilt.
+       * archive.c (_bfd_write_archive_contents): Call
+       bfd_update_armap_timestamp instead of checking for a BSD archive
+       and calling bsd_update_armap_timestamp.
+       (_bfd_archive_bsd_update_armap_timestamp): Rename from
+       _bsd_update_armap_timestamp.  Don't assume that armap_datepos is
+       already set.
+       * aout-target.h (MY_update_armap_timestamp): Define if not already
+       defined.
+       * coff-rs6000.c (rs6000coff_update_armap_timestamp): Define.
+       * ieee.c (ieee_update_armap_timestamp): Define.
+       * libecoff.h (_bfd_ecoff_update_armap_timestamp): Define.
+       * oasys.c (oasys_update_armap_timestamp): Define.
+       * som.c (som_update_armap_timestamp): Define.
+
+       * hash.c: Copy string hash functions from aoutx.h.
+       * aoutx.h: String hash functions moved to hash.c.  Retain
+       simplified versions of add_to_stringtab and emit_stringtab.
+       Change all callers to use new function and structure names.
+       * libbfd-in.h (_bfd_stringtab_init, _bfd_stringtab_free): Declare.
+       (_bfd_stringtab_size, _bfd_stringtab_add): Declare.
+       (_bfd_stringtab_emit): Declare.
+       * libbfd.h: Rebuilt.
+
+Mon Aug 22 10:49:37 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * i386linux.c (linux_add_one_symbol): Create a fixup for any
+       defined absolute symbol, not just GOT or PLT symbols.
+       (linux_tally_symbols): Correct handling of references to defined
+       symbols.
+
+Thu Aug 18 16:29:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       Get ld -x -r to handle a.out set symbols correctly.
+       * aoutx.h (adjust_o_magic): If the .bss VMA was set outside of
+       BFD, pad the .data section up to the VMA of the .bss section.
+       (aout_link_add_symbols): If a set symbol does not get modified,
+       treat it as a local symbol.
+       (aout_link_write_symbols): Set the value of set symbols
+       correctly.  Don't discard set symbols even if discarding local
+       symbols.
+       (aout_link_write_other_symbol): Don't abort on bfd_link_hash_new,
+       since it can now happen for set symbols.
+
+       * elfcode.h (elf_fake_sections): Just check for ".rela" and
+       ".rel", not ".rela." and ".rel."; make this work by checking
+       use_rela_p.
+       * elf32-i386.c (elf_i386_check_relocs): Just check for ".rel", not
+       ".rel."
+       (elf_i386_size_dynamic_sections): Likewise.
+       (elf_i386_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_check_relocs): Just check for
+       ".rela", not ".rela."
+       (elf32_sparc_size_dynamic_sections): Likewise.
+       (elf32_sparc_relocate_section): Likewise.
+
+Wed Aug 17 16:54:18 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * linker.c (_bfd_generic_link_add_archive_symbols): Initialize
+       PASS to the old value + 1.
+
+       * coffgen.c (coff_get_normalized_symtab): If a C_FILE symbol has
+       no aux entries, use the symbol name as the file name.
+       (coff_find_nearest_line): Look for the right C_FILE symbol, rather
+       than always using the first one.  If there is a debugging symbol
+       after a function symbol, skip it.  Add the section VMA to the line
+       offset, since it was subtracted out in coff_slurp_line_table.
+
+Tue Aug 16 16:53:00 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_prep_headers): If writing some form of an executable,
+       allocate and attach an exec header to the BFD private data.
+       (som_begin_writing): Don't fill fields of the exec header based
+       on BFD private data here (like the exec flags).  Do not write
+       the exec header here.
+       (som_write_headers): Instead do it here.
+       * som.h (struct somdata): New field "exec_hdr" for the executable
+       file header.
+       (obj_som_exec_hdr): New accessor macro.
+
+Tue Aug 16 00:12:31 1994  Eric Youngdale  (ericy@cais.cais.com)
+
+       * i386linux.c (linux_link_create_dynamic_sections): Create section
+       named .linux-dynamic, not .dynamic.
+       (linux_add_one_symbol): Use .linux-dynamic, not .dynamic.
+       (bfd_linux_size_dynamic_sections): Likewise.
+       (linux_finish_dynamic_link): Likewise.
+
+Mon Aug 15 12:16:56 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coffgen.c (STRING_SIZE_SIZE): Define.
+       (coff_fix_symbol_name): Use STRING_SIZE_SIZE, not 4.
+       (coff_write_symbols, build_string_table): Likewise.
+       (coff_get_normalized_symtab): Likewise.
+
+       * libcoff-in.h (obj_symbol_slew): Don't define.
+       (struct coff_tdata): Remove unused fields index_slew, raw_linenos,
+       and flags.
+       * libcoff.h: Rebuilt.
+       * coffcode.h (coff_mkobject): Don't initialize raw_linenos.
+       (coff_mkobject_hook): Don't initialize flags.
+
+       * aout-target.h (MY_zmagic_contiguous): Define as 0 if not already
+       defined.
+       (MY(backend_data)): Use MY_zmagic_contiguous, not hardcoded 0.
+       * i386linux.c (MY_zmagic_contiguous): Define.
+
+       * elfcode.h (bfd_section_from_shdr): If a SHT_SYMTAB section in a
+       shared object has SHF_ALLOC set, create a BFD section for it.
+       (elf_section_from_bfd_section): There may be a BFD section for a
+       SHT_SYMTAB section.
+
+       * coffcode.h (styp_to_sec_flags): Add name argument.  If no flags
+       are recognized, chose section flags based on the name.
+       (bfd_coff_backend_data): _bfd_styp_to_sec_flags_hook field: Add
+       name argument.
+       (bfd_coff_styp_to_sec_flags_hook): Add name argument.
+       (coff_compute_section_file_positions): Don't adjust the section
+       position by COFF_PAGE_SIZE unless SEC_ALLOC is set.
+       * libcoff.h: Rebuilt.
+       * coffgen.c (make_a_section_from_file): Pass section name to
+       bfd_coff_styp_to_sec_flags_hook.
+       * ecoff.c (_bfd_ecoff_styp_to_sec_flags): Add unused name
+       argument.
+       * libecoff.h (_bfd_ecoff_styp_to_sec_flags): Add name argument to
+       prototype.
+
+Fri Aug 12 11:22:40 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * elfcode.h (section_from_elf_index): Correct check for invalid
+       section index.
+
+       * elfcode.h (elf_link_add_object_symbols): If there is no symbol
+       table, try using the dynamic symbol table.  From Eric Youngdale
+       <ericy@cais.cais.com>.
+
+       * configure.host (sparc-*-solaris2*): Use solaris2, not sysv4.
+       The linker depends upon configuring for solaris2.
+       * hosts/solaris2.h: New file; include hosts/sysv4.h.
+       * config/solaris2.mh: New file; copy of config/sysv4.mh.
+
+Wed Aug 10 13:09:38 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * aoutx.h (adjust_z_magic): Make sure data section is padded to
+       page boundary when the VMA is set by the calling program.  From
+       Eric Youngdale <ericy@cais.cais.com>.
+
+Mon Aug  8 17:18:49 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       Update to ns32k support, from Ian Dall (dall@hfrd.dsto.gov.au).
+       * aout-ns32k.c: Add declarations that were in aout-ns32k.h, change
+       declarations to traditional form.
+       (MY_reloc_howto, MY_put_reloc): Change from macro to function.
+       (ns32k_relocate_contents): New function.
+       * aout-ns32k.h: Remove.
+       * cpu-ns32k.c: Add declarations that were in aout-ns32k.h, change
+       declarations to traditional form.
+       (ns32k_final_link_relocate): Call ns32k_relocate_contents.
+       * netbsd532.c: Reformat to standards, add copyright notice.
+       (ARCH): Don't define.
+       (aout-ns32k.h): Don't include.
+       * pc532-mach.c: Ditto.
+
+Mon Aug  8 17:55:52 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coff-i960.c (coff_i960_relocate): Don't try to convert relocs
+       against common symbols.
+
+Sat Aug  6 22:27:30 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
+
+       * irix-core.c (irix_core_core_file_p):  Ignore sections that
+       are not contained in the core file.
+
 Thu Aug  4 11:32:23 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
 
-       * coff-m68k.c (_bfd_coff_m68k_reloc_type_lookup): New function.
+       * coff-m68k.c (m68k_reloc_type_lookup): New function.
        (coff_bfd_reloc_type_lookup): Define.
+       * cf-m68klynx.c (_bfd_m68kcoff_reloc_type_lookup): Define.
 
        * elfcode.h (elf_bfd_final_link): Force the vma of sections which
        do not have SEC_ALLOC set to be 0.  This is needed to handle
This page took 0.027554 seconds and 4 git commands to generate.