* elf-bfd.h (ELF_LINK_NON_ELF): Define.
[external/binutils.git] / bfd / ChangeLog
index e9bcff8..00466ea 100644 (file)
@@ -1,3 +1,98 @@
+Thu Feb  1 16:04:06 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf-bfd.h (ELF_LINK_NON_ELF): Define.
+       * elf.c (_bfd_elf_link_hash_newfunc): Set elf_link_hash_flags to
+       ELF_LINK_NON_ELF.
+       * elflink.h (elf_link_add_object_symbols): Reset ELF_LINK_NON_ELF
+       flag for a newly defined symbol.
+       (NAME(bfd_elf,record_link_assignment)): Likewise.
+       (elf_adjust_dynamic_symbol): If ELF_LINK_NON_ELF is set, try to
+       set the DEF or REF_REGULAR flags correctly.
+
+       * Makefile.in (bfd-in2.h): Make bfd.h, not protos, in docdir.
+       (libbfd.h, libcoff.h): Corresponding change.
+
+       * elf32-i386.c (elf_i386_check_relocs): Don't record a symbol with
+       a PLT32 reloc as dynamic.
+       (elf_i386_adjust_dynamic_symbol): If a symbol with a PLT32 reloc
+       is not referenced by a dynamic object, and we are not making a
+       shared object, then don't make a PLT entry.  If we do make a PLT
+       entry, make sure the symbol has been recorded as dynamic.
+
+Wed Jan 31 17:23:32 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * coff-i386.c (coff_i386_reloc_type_lookup): Add BFD_RELOC_32_PCREL.
+       * config.bfd (i[345]86-*-win32): Becomes i[345]86-*-cygwin32.
+       (powerpcle-*-cygwin32): New.
+       * peicode.h (add_data_entry): Get address from vma.
+
+Wed Jan 31 16:23:57 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * elflink.c (_bfd_elf_create_linker_section): If the symbol
+       attached to the section has already been created as an undefined
+       symbol, treat it as if it hasn't been created yet.
+
+Wed Jan 31 16:16:53 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (elf_bfd_final_link): Don't output initial dummy
+       symbol or section symbols if stripping all symbols and this is not
+       a relocateable link.  Don't output the symbol string table if
+       there are no symbols.
+       (elf_link_flush_output_syms): Don't do anything if there are no
+       symbols to flush.
+
+Wed Jan 31 12:55:49 1996  Richard Henderson  <rth@tamu.edu>
+
+       * coff-aux.c: New file.
+       * hosts/m68kaux.h: New file.
+       * config.bfd (m68*-apple-aux*): New target.
+       * configure.in (m68*-apple-aux*): New native host.
+       (m68kaux_coff_vec): New vector.
+       * configure: Rebuild.
+       * targets.c (m68kaux_coff_vec): Declare.
+       * coffcode.h (bfd_coff_backend_data): Add field
+       _bfd_coff_link_add_one_symbol.
+       (bfd_coff_link_add_one_symbol): Define.
+       (compare_arelent_ptr): New static function if TARG_AUX.
+       (coff_write_relocs): If TARG_AUX, sort the relocs.
+       (coff_write_object_contents): Set A/UX aouthdr magic number.
+       (coff_link_add_one_symbol): Define if not defined.
+       (bfd_coff_std_swap_table): Initialize new field.
+       * libcoff.h: Rebuild.
+       * cofflink.c (coff_link_add_symbols): Call
+       bfd_coff_link_add_one_symbol rather than
+       _bfd_generic_link_add_one_symbol.
+       * coff-m68k.c (COFF_PAGE_SIZE): Don't define if already defined.
+       * coff-alpha.c (alpha_ecoff_backend_data): Initialize new field.
+       * coff-mips.c (mips_ecoff_backend_data): Likewise.
+       * Makefile.in: Rebuild dependencies.
+       (BFD32_BACKENDS): Add coff-aux.o.
+       (BFD32_BACKENDS_CFILES): Add coff-aux.c.
+
+Wed Jan 31 11:37:46 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * elf32-m68k.c (elf_m68k_relocate_section): Fix R_68K_GOT*
+       relocation; ignore addend with R_68K_{GOT,PLT}*O relocation.
+
+Tue Jan 30 12:09:04 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (do_maintainer_clean): Remove $(srcdir)/bfd-in2.h,
+       $(srcdir)/libbfd.h and $(srcdir)/libcoff.h.
+       (maintainer-clean): Warn about deleting special files.
+       (bfd-in2.h, libbfd.h, libcoff.h): New targets.
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): Handle indirect and
+       warning symbols correctly.
+       * elf32-i386.c (elf_i386_relocate_section): Likewise.
+       * elf32-m68k.c (elf_m68k_relocate_section): Likewise.
+       * elf32-mips.c (mips_elf_relocate_section): Likewise.
+       * elf32-ppc.c (ppc_elf_relocate_section): Likewise.
+       * elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
+       * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
+
+       * syms.c (_bfd_stab_section_find_nearest_line): Add casts to avoid
+       warnings.
+
 Mon Jan 29 14:27:24 1996  Kim Knuttila  <krk@cygnus.com>
 
        * libcoff-in.h: aligned newly exported names with bfd naming