* i386linux.c (NEEDS_SHRLIB): Define.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a5fb0f66889379db6a9ef4a7105076964a04ca89..1ad6111c66096eff235b2fa9e05f3f7ffdc3aa6e 100644 (file)
@@ -1,5 +1,228 @@
+Thu Feb  9 12:02:35 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * i386linux.c (NEEDS_SHRLIB): Define.
+       (linux_tally_symbols): Crash if a NEEDS_SHRLIB symbol is
+       undefined.  From hjl@nynexst.com (H.J. Lu).
+
+       * elfcode.h (elf_bfd_final_link): Add assertion to make sure that
+       dynamic and dynobj are in synch.
+
+Wed Feb  8 17:26:00 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * linker.c (generic_link_check_archive_element): Allocate common
+       symbol information structure.  Don't bother to check for common
+       symbol size overflow.
+       (_bfd_generic_link_add_one_symbol): Likewise.
+       * aoutx.h (aout_link_check_ar_symbols): Likewise.
+       * linker.c (generic_link_check_archive_element): Adjust references
+       to common symbol information for new structure.
+       (_bfd_generic_link_add_one_symbol): Likewise.
+       * aoutx.h (aout_link_check_ar_symbols): Likewise.
+       (aout_link_add_symbols): Likewise.
+       * ecoff.c (ecoff_link_add_externals): Likewise.
+       * elfcode.h (elf_link_add_object_symbols): Likewise.
+       (elf_link_output_extsym): Likewise.
+       * sunos.c (sunos_add_one_symbol): Likewise.
+
+Wed Feb  8 09:53:42 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * elfcode.h (elf_sort_hdrs): Put SHT_NOBITS sections after !SHT_NOBITS.
+
+Tue Feb  7 16:27:33 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_bfd_find_nearest_line): Just return false, don't
+       abort.
+
+Tue Feb  7 14:43:33 1995  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * ecoff.c: Reformatted some comments and brace constructs in
+       recent changes to GNU style.
+       (cmp_fdrtab_entry, mk_fdrtab, lookup): Use old-style function
+       definitions.
+
+Tue Feb  7 14:21:28 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoffswap.h (ecoff_swap_pdr_in): Zero out intern before setting
+       any of the fields.
+
+Mon Feb  6 20:01:24 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Sat Feb  4 14:20:24 1995  David Mosberger-Tang  <davidm@piston.cs.arizona.edu>
+
+       * ecoffswap.h (ecoff_swap_pdr_in, ecoff_swap_pdr_out): added
+       internalizing/externalizing new "prof" field.
+
+       * libecoff.h (ecoff_tdata): added fdrtab.
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): Fixed.
+
+Mon Feb  6 14:25:24 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * libelf.h (struct elf_link_hash_table): Add saw_needed field.
+       * elfcode.h (elf_link_add_object_symbols): Set saw_needed if
+       DT_NEEDED seen in .dynamic section.
+       (elf_link_output_extsym): Warn if an undefined symbol is
+       only referenced from a dynamic object, and not making a shared
+       object, and saw_needed is false.
+       * elf.c (_bfd_elf_link_hash_table_init): Initialize saw_needed.
+
+       * libelf.h (ELF_LINK_HASH_DEFINED_WEAK): Don't define.
+       * elfcode.h (elf_link_add_object_symbols): Don't clear or set
+       ELF_LINK_HASH_DEFINED_WEAK.
+       (elf_link_output_extsym): Don't check ELF_LINK_HASH_DEFINED_WEAK.
+
+       Distinguish a weak defined symbol from a regular defined symbol.
+       * linker.c (enum link_action): Add DEFW.
+       (link_action): Add bfd_link_hash_defweak column.
+       (_bfd_generic_link_add_one_symbol): Add DEFW case.  Handle
+       bfd_link_hash_defweak in a few other cases.
+       * Many files (bfd_link_hash_undefweak): Renamed from
+       bfd_link_hash_weak.
+       * aoutx.h (aout_link_write_symbols): Handle bfd_link_hash_defweak.
+       (aout_link_write_other_symbol): Likewise.
+       (aout_link_input_section_std): Likewise.
+       (aout_link_input_section_ext): Likewise.
+       * bout.c (get_value): Likewise.
+       * coff-a29k.c (coff_a29k_relocate_section): Likewise.
+       * coff-alpha.c (alpha_convert_external_reloc): Likewise.
+       (alpha_relocate_section): Likewise.
+       * coff-mips.c (mips_relocate_section): Likewise.
+       (mips_relax_section): Likewise.
+       (bfd_mips_ecoff_create_embedded_relocs): Likewise.
+       * cofflink.c (coff_write_global_sym): Likewise.
+       (_bfd_coff_generic_relocate_section): Likewise.
+       * ecoff.c (ecoff_link_add_externals): Likewise.
+       (ecoff_link_write_external): LIkewise.
+       * elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
+       (elf32_hppa_size_stubs): Likewise.
+       * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise.
+       (elf_i386_relocate_section): Likewise.
+       (elf_i386_finish_dynamic_symbol): Likewise.
+       * elf32-mips.c (mips_elf_output_extsym): Likewise.
+       (mips_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
+       (elf32_sparc_relocate_section): Likewise.
+       * elfcode.h (elf_link_add_object_symbols): Likewise.
+       (elf_adjust_dynamic_symbol): Likewise.
+       (elf_bfd_final_link): Likewise.
+       (elf_link_output_extsym): Likewise.
+       * i386linux.c (linux_add_one_symbol): Likewise.
+       (linux_tally_symbols): Likewise.
+       (linux_finish_dynamic_link): Likewise.
+       * linker.c (_bfd_generic_link_output_symbols): Likewise.
+       (set_symbol_from_hash): Likewise.
+       * reloc16.c (bfd_coff_reloc16_get_value): Likewise.
+       (bfd_perform_slip): Likewise.
+       * sunos.c (sunos_add_one_symbol): Likewise.
+       (sunos_scan_std_relocs): Likewise.
+       (sunos_scan_ext_relocs): Likewise.
+       (sunos_scan_dynamic_symbol): Likewise.
+       (sunos_write_dynamic_symbol): Likewise.
+
+Mon Feb  6 03:20:17 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Changes from Bryan Ford, baford@schirf.cs.utah.edu:
+       * config.bfd (i[345]86-*-msdos*): New target.
+       * configure.in (i386msdos_vec): Handle it.
+       * i386msdos.c: New file.
+       * config/i386-msdos.mt: New file.
+       * bfd.c (enum bfd_error): Added new value bfd_error_file_too_big.
+       (bfd_errmsgs): Added string to table.
+       * libaout.h (reloc_type-lookup): Declare it.
+       * targets.c (enum bfd_flavour): Added bfd_target_msdos_flavour.
+       (i386msdos_vec): Declare.
+       (bfd_target_vector): Add it to the list.
+       * bfd-in2.h: Regenerated.
+
+Wed Feb  1 01:32:14 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_set_reloc_info, case R_DATA_ONE_SYMBOL): If there's
+       nothing in R_DATA_OVERRIDE, then try to find the addend in the
+       section's contents.
+
+       * som.c (som_object_setup): More heruistics to detect the
+       braindamaged HP OSF1 linker. 
+       (setup_sections): Don't forget to free subspace_sections if we get
+       an error.
+       (som_slurp_string_table): Allocate strings on this bfd's obstack
+       rather than directly out of the heap.
+       (som_slurp_symbol_table): Likewise for the saved copy of the
+       canonical symbols.
+       (som_slurp_reloc_table): Likewise for the saved copy of the
+       canonical relocations.  Free the native relocations when we're
+       done with them.
+
+Tue Jan 31 21:53:28 1995  Doug Evans  <dje@canuck.cygnus.com>
+
+       * libelf.h (struct elf_obj_tdata): New member program_header_size.
+       * elfcode.h (get_program_header_size): New parameters sorted_hdrs,
+       count, and maxpagesize.  All callers updated.
+       If sorted_hdrs is non-NULL, use it to compute the number of segments.
+       Save result in case called again.
+       (assign_file_positions_except_relocs): Sort headers before calling
+       get_program_header_size.
+
+Tue Jan 31 15:27:53 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elfcode.h (map_program_segments): Add sorted_hdrs parameter.
+       Search through it rather than through unsorted section headers.
+       (assign_file_positions_except_relocs): Pass sorted_hdrs to
+       map_program_segments.
+
+Mon Jan 30 22:04:53 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): Fix problems in range
+       checking.  Expect argument OFFSET to be section-relative.  From
+       David Mosberger-Tang, davidm@piston.cs.arizona.edu.
+
+Mon Jan 30 11:22:11 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elfcode.h (NAME(bfd_elf,record_link_assignment)): Don't do
+       anything if we are not linking an ELF file.
+       (NAME(bfd_elf,size_dynamic_sections)): Likewise.
+
+Sat Jan 28 12:48:57 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (compare_subspaces): New function to sort subspaces by
+       their location in the object file.
+       (setup_sections): When computing the index for each subspace,
+       handle case where setup_sections reads the subspaces in a
+       different order that they appear in the object file.
+       (som_is_space): Also examine the output section for the containing
+       section.
+       (som_is_subspace, som_is_container): Likewise.
+       (som_begin_writing): Don't prepare or write fixups here.  When
+       writing the symbol strings, use the unsorted symbol table.
+       (som_write_object_contents): Don't write the symbol table here.
+       (som_finish_writing): Prepare and write the fixups here.  Likewise
+       for the symbol table.
+       (som_bfd_derive_misc_symbol_info): Undefined symbols always have
+       type SS_UNSAT regardless of BSF_EXPORT.
+       (som_set_reloc_info): Unpack and attach argument location
+       information for R_PCREL_CALL and R_ABS_CALL relocations.
+
+       * som.c (som_object_setup): New heuristic to determine if the
+       entry and flags fields are switched in the exec header.
+
+Sat Jan 28 00:16:01 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elfcode.h (elf_link_add_object_symbols): Use *sym_hash instead
+       of h if we might not be doing an ELF link.
+
+Fri Jan 27 16:13:42 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_elf_final_link): If the size of an input
+       .reginfo section is zero, force it to the correct size, since the
+       linker emulation code may have clobbered it.
+
+       * elfcode.h (elf_sort_hdrs): Correct SHF_ALLOC test.
+       (assign_file_positions_except_relocs): Free sorted_hdrs.
+
 Thu Jan 26 09:00:12 1995  Steve Chamberlain  <sac@splat>
 
+       * srec.c (srec_set_section_contents): Fix off by
+       one end address calculation.
+
        * config.bfd: (m68*-est-coff): New configuration.
 
 Thu Jan 26 11:39:21 1995  Ian Lance Taylor  <ian@cygnus.com>
This page took 0.038199 seconds and 4 git commands to generate.