* Makefile.in: Rebuild dependencies.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 8b2978dd9c9f773a87c914c728323ce42062b825..6caadcd8ed5135d2fdc33f4865f76a1236877a9e 100644 (file)
@@ -1,5 +1,365 @@
+Thu Jul  6 14:37:43 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in: Rebuild dependencies.
+       (CFILES): Added elflink.c.
+       (Makefile): Depend upon config.status, not configure.in.
+       (config.status): New target; depend upon configure configure.host
+       and config.bfd.
+
+Wed Jul  5 20:17:14 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * elfcore.h, elflink.h, elfcode.h, elf.c, elflink.c: Moved some
+       primarily size-independent code from elfcode.h to elf.c and new
+       file elflink.c; moved out other core- or linker-related routines
+       into other new .h files for clarity.  Renamed many routines to
+       start with bfd_elf or _bfd_elf.  Added a structure of
+       size-dependent but target-independent info to elfcode.h.
+       * Makefile.in: Build elflink.o.  Update dependencies.
+       * libelf.h: Updated some declarations.  Added a definition for the
+       new structure in elfcode.h.  Added more fields to elf backend data
+       structure.
+       * elfxx-target.h: Refer to the appropriate size-dependent info.
+       * elf32-*.c: Changed some function names.  Moved common
+       create_dynamic_sections code from m68k, sparc, and i386 support
+       into elflink.c.  Define some new macros to fill in new fields of
+       back end data.  Also clean up some "gcc -Wall" warnings regarding
+       unused or uninitialized variables.
+
+       * Makefile.in (BFD_LIBS): No, don't put elflink.o here.
+       * configure.in: Include it here whenever elf.o is specified.
+
+Wed Jul  5 10:31:47 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_elf_object_p): Unconditionally set
+       elf_bad_symtab, since sometimes the symbol table is messed up and
+       the last symbol is global.
+
+       * ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
+       * libecoff.h (_bfd_ecoff_bfd_is_local_label): Declare.
+       * elf32-mips.c (mips_elf_is_local_label): New static function.
+       (bfd_elf32_bfd_is_local_label): Define.
+
+       * configure.in: Use $ac_config_sub, not $configsub.
+       * configure: Likewise.
+
+       Permit --enable-targets=ieee:
+       * config.bfd (*-*-ieee*): New target.
+       * config/ieee.mt: New file.
+
+Wed Jul  5 04:16:35 1995  Ken Raeburn  <raeburn@kr-pc.cygnus.com>
+
+       * config/i386aix.mh (HDEFINES): Remove -DFASCIST_FDOPEN.
+
+       Autoconfiscation:
+       * configure.in, Makefile.in, doc/Makefile.in: Switch from Cygnus
+       configure to autoconf ways of processing --enable arguments,
+       setting up symlinks, incorporating makefile fragments, printing
+       messages at configuration time, setting variables in Makefile.
+       Deleted some unused variables.  Check for ranlib via autoconf.
+       For now, configure script removes doc/config.status.
+       * configure: New file.
+       * dep-in.sed: Use @SRCDIR@ instead of @srcdir@, so Makefile.in
+       line doesn't get broken by configure.
+       * doc/configure.in: Removed.
+
+Tue Jul  4 12:22:21 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * archive.c (_bfd_construct_extended_name_table): If
+       BFD_TRADITIONAL_FORMAT is set, limit the length of all file names
+       to ar_max_namelen.
+       (bfd_dont_truncate_arname): If BFD_TRADITIONAL_FORMAT is set, call
+       bfd_bsd_truncate_arname.
+       (_bfd_write_archive_contents): Revert June 1 change.
+
+       * elfcode.h (NAME(bfd_elf,record_link_assignment)): Add provide
+       argument.
+       * bfd-in.h (bfd_elf32_record_link_assignment): Update prototype.
+       (bfd_elf64_record_link_assignment): Likewise.
+       * bfd-in2.h: Rebuild.
+
+       * libelf.h (struct elf_link_hash_table): Add needed field.  Remove
+       saw_needed field.
+       * elfcode.h (elf_link_add_object_symbols): If elf_dt_needed_name
+       is an empty string, don't make a DT_NEEDED entry in the output
+       file.  Record all DT_NEEDED entries found in input dynamic
+       objects.
+       (elf_link_output_extsym): Don't check saw_needed when issuing
+       warnings.
+       * elf.c (_bfd_elf_link_hash_table_init): Initialize needed, not
+       saw_needed.
+       (bfd_elf_get_needed_list): New function.
+       * bfd-in.h (struct bfd_elf_link_needed_list): Define.
+       (bfd_elf_get_needed_list): Define.
+       * bfd-in2.h: Rebuild.
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
+       find_buffer and fdrtab_len fields of newly allocated
+       find_line_info structure.
+
+Mon Jul  3 17:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (hppa_som_gen_reloc_type): New argument "sym_diff",
+       nonzero when we're generating relocations for an expression
+       using the difference of two symbols.  All callers changed.
+       Handle difference of symbols for both R_HPPA and R_COMPLEX
+       cases.
+       (som_write_fixups): Handle R_COMP1, R_COMP2 and R_CODE_EXPR
+       fixups.
+
+Mon Jul  3 13:55:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * config.bfd (win32): New configuration.
+       * configure.host (pe): Changed to i386win32.
+       * config/i386pe.mh: Deleted.
+       * config/i386win32.mh: New file.
+
+Mon Jul  3 11:30:45 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
+       find_line_info, clear the fdrtab field.
+
+       * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here,
+       rather than in bfd-in2.h.
+
+       * bfd.c (enum bfd_error): Define bfd_error_no_armap.
+       (bfd_errmsgs): Add string for bfd_error_no_armap.
+       * bfd-in2.h: Rebuild.
+       * ecoff.c (ecoff_link_add_archive_symbols): If an archive has no
+       armap, set bfd_error_no_armap rather than bfd_error_no_symbols.
+       * elfcode.h (elf_link_add_archive_symbols): Likewise.
+       * linker.c (_bfd_generic_link_add_archive_symbols): Likewise.
+
+       * elfcode.h (elf_link_add_object_symbols): Permit common and
+       indirect symbols in weakdefs BFD_ASSERT.
+       * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Simplify
+       BFD_ASSERT to permit some legal, but odd, cases.
+       * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Likewise.
+       * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise.
+
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add versados.o.
+       (CFILES): Add pe-i386.c, pei-i386.c, and versados.c.
+start-sanitize-arc
+       (elf32-arc.o): New target.  This target should be removed when
+       elf32-arc.c can be added to CFILES, after which the automatic
+       dependency building will handle it.
+end-sanitize-arc
+
+Sun Jul  2 17:49:32 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section): Cast base_file
+       to FILE * before using it.
+       * stab-syms.c: Revert yesterday's patch.
+
+Sat Jul  1 12:10:42 1995  Fred Fish  <fnf@cygnus.com>
+
+       * stab-syms.c (stdio.h):  Include prior to libaout.h, which
+       includes bfdlink.h, which now uses FILE.
+
+Sat Jul  1 00:11:08 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * elfxx-target.h: New file.
+
+       * libelf.h (struct elf_backend_data): Remove elf_64_p field.
+       * elfxx-target.h (elfNN_bed): Don't set it.
+
+       * elf32-target.h, elf64-target.h: Deleted.
+       * Makefile.in (elf32-target.h, elf64-target.h): Build them from
+       elfxx-target.h.
+
+Fri Jun 30 16:07:18 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section): Compare
+       the full text of .reloc or .edata section names.
+
+Fri Jun 30 15:47:37 1995  Fred Fish  <fnf@cygnus.com>
+
+       * cofflink.c (_bfd_coff_generic_relocate_section):
+       Remove extra '+'.
+
+Thu Jun 29 17:24:52 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * coff-h8300.c (COFF_LONG_FILENAMES): Define.
+
+Wed Jun 28 18:04:42 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * Makefile.in: versados.o is now conditionally built.
+       * coffcode.h (add_data_entry): New function.
+       (coff_write_object_contents): Clean up. Calculate
+       data entries.
+       * cofflink.c (_bfd_coff_generic_relocate_section):
+       .reloc and .edata sections are IMAGE_BASED too.
+       If there's a base_file then write out base information.
+       * configure.host (i386-*-pe): New.
+       * syms.c (coff_section_type): Only scan prefixes.
+       * targets.c (bfd_target_vector): Versados is now conditionally
+       built.
+       * config/m68k-coff.mt: Build versados.o
+       * hosts/i386pe.h: New file.
+
+Mon Jun 26 13:53:49 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * elf32-hpa.c (elf32_hppa_relocate_section): Close comment before
+       R_PARISC_DPREL21L handling.
+
+Thu Jun 22 19:28:36 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Sun May  7 11:53:41 MDT 1995  Bryan Ford  <baford@cs.utah.edu>
+
+       * config/i386-moss.mt: created.
+
+Thu Jun 22 08:56:10 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * reloc.c (bfd_perform_relocation): Add case for -ve words.
+
+Wed Jun 21 13:13:49 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Don't try to apply a
+       relocation against an undefined symbols.
+
+Wed Jun 21 10:16:10 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * versados.c: Second pass/rewrite.
+
+Mon Jun 19 08:40:45 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * syms.c (coff_section_type): Compare only the front part
+       of a section name. (bfd/7238)
+
+Sat Jun 17 09:40:44 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * elf32-hppa.c (elf32_hppa_size_stubs): Set the size of the stub
+       section if we get an error.
+
+       * elf32-hppa.c (elf32_hppa_bfd_final_link_relocate): Don't mess
+       with the operands of an R_PARISC_DPREL21L relocation if the insn
+       is not "addil <symbol>,%r27".
+
+Fri Jun 16 15:04:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * bfd-in.h (NT_subsystem, NT_stack_heap): Declare but don't
+       define.
+       * bfd-in2.h: Rebuilt.
+       * bfd.c (NT_subsystem, NT_stack_heap): Define.
+
+Fri Jun 16 00:07:25 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * elf32-hppa.c (elf32_hppa_bfd_link_link_relocate): Use the right
+       type field (there are two!) when checking to see if $global$ is
+       defined.
+
+Thu Jun 15 14:03:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * bfd-in.h, bfd-in2.h (bfd_boolean): Rename bfd_true, bfd_false
+       to bfd_tttrue, bfd_fffalse so as not to conflict with functions.
+       * coffswap.h (coff_swap_scnhdr_out): Remove version that was
+       hacked for MPW C.
+       * mpw-config.in: Set shell vars instead of pasting to makefile
+       for each configuration, edit coffswap.h to make MPW C not choke.
+       (i386-unknown-coff, sh-hitachi-hms): Recognize.
+       * mpw-make.in (BFD_LIBS): Add versados.c.o.
+
+       * versados.c (versados_scan): Properly cast results from bfd_alloc.
+
+Wed Jun 14 15:27:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * cofflink.c (process_embedded_commands): New function
+       reads and handles .drectve sections for PE.
+       (coff_link_input_bfd): Call new function if PE.
+
+Mon Jun 12 12:09:39 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * bfd-in.h (bfd_set_section_vma): Case true to a boolean.
+       (bfd_set_cacheable): Likewise.
+       * bfd-in2.h: Rebuilt.
+
+Fri Jun  9 12:20:28 1995  Steve Chamberlain  <sac@rtl.cygnus.com>
+
+       * elfcode.h (elf_sort_hdrs): Rewrite to be symmetrical.
+
+Fri Jun  9 12:49:00 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * targets.c: Add copy_private_symbol_data and link_split_section
+       to the target vector.
+       * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define.
+       (_bfd_nolink_bfd_link_split_section): Likewise.
+       (bfd_generic_link_split_section): Declare.
+       * syms.c (bfd_copy_private_symbol_data): Define.
+       * linker.c (bf_link_split_section): Likewise.
+       * som.c (som_bfd_copy_private_symbol_data): New function
+       (som_bfd_link_split_section): Likewise.
+       * All other targets updated with default versions of new routines.
+
+       * Take out my braindamaged bfd_true/bfd_false changes from earlier
+       today.  Replace with just:
+       * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if
+       compiling with g++-2.6 or later.
+       * bfd-in2.h: Rebuilt.
+
+Fri Jun  9 07:54:29 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * versados.c (struct esd, get_4): Lint; use unsigned chars.
+
+       * coff-i960.c (coff_i960_relocate):  Compare output section names
+       when converting for vxworks.
+
+Wed Jun  7 19:01:30 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * elfcode.h (elf_fake_sections): Permit .scommon or COMMON
+       sections as random SHT_NOBITS sections, in case a linker script is
+       strange.
+
+Tue Jun  6 17:29:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * bfd-in.h (NT_subsystem, NT_stack_heap): Moved from pe.h
+       * coff-i386.c (coff_i386_rtype_to_howto): Get PE relocs right.
+       * coffcode.h (coff_mkobject): Set pe tdata bit when using PE.
+       * cofflink.c (COFF_WITH_PE code): Test on obj_pe bit rather
+       than conditional compile.
+       * configure.in: Fix PE dependencies.
+       * libcoff-in.h (obj_pe): New.
+       (coff_tdata): Added pe entry.
+       * libcoff.h: Regenerated.
+
+Mon Jun  5 09:07:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * coff-a29k.c (coff_a29k_adjust_symndx): Completely parenthesize
+       macro. (pr ld/7127)
+
+Mon Jun  5 02:15:20 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>
+
+       Linker support for m68k-elf from Andreas Schwab
+       <schwab@issan.informatik.uni-dortmund.de>:
+       * elfcode.h (elf_link_add_object_symbols): Check for NULL when
+       looping through the symbol hashes.
+       (elf_bfd_final_link): When looking for _init and _fini don't use
+       the symbol if it is imported from another object.
+       * elf32-m68k.c: Relocation type changed from REL to RELA.  Regular
+       and dynamic linking support functions added, similar to other elf
+       targets.
+
+       * config.bfd (i[345]86-*-gnu*): Use ELF configuration.
+
+Fri Jun  2 18:54:59 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * versados.c: New file.
+       * bfd-in2.h (struct _bfd): New field.
+       * bfd.c (struct _bfd): New field.
+       * configure.in (versados_vec): New field.
+       * targets.c (bfd_flavor): Added versados.
+
+Thu Jun  1 13:51:49 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * coffcode.h (sec_to_styp_flags, styp_to_sec_flags, 
+       coff_new_section_hook):  Any section that starts ".stab"
+       is now marked as debugging.
+
 Thu Jun  1 16:15:16 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
+       * archive.c (_bfd_write_archive_contents): Disable extended name
+       table until it can be made optional, so that native AR has half a
+       chance on SunOS and HP/UX.
+
        * linker.c (_bfd_generic_link_output_symbols, case
        bfd_link_hash_indirect): Add cast to correct pointer types.
 
@@ -13,8 +373,6 @@ Wed May 24 10:52:01 1995  Steve Chamberlain  <sac@slash.cygnus.com>
        * linker.c (_bfd_generic_link_output_symbols): Cope with
        indirect symbols.
 
-       pr ld/6997
-
        * elf32-i386.c (elf_i386_relocate_section): Give error
        message when linking to a shared reloc which isn't there.
 
This page took 0.029714 seconds and 4 git commands to generate.