* som.c (som_object_setup): Handle exec_entry and exec_flags being
[platform/upstream/binutils.git] / bfd / ChangeLog
index 80345a8..4f1234e 100644 (file)
@@ -1,3 +1,102 @@
+Tue Sep 13 17:57:00 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_object_setup): Handle exec_entry and exec_flags being
+       switched in executables created by the OSF1 linker.
+       (som_write_fixups): Handle R_EXIT just like the R_{F,L,R}SEL
+       fixups.  Support R_ALT_ENTRY (handle just like R_EXIT).
+
+Tue Sep 13 16:04:07 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * cofflink.c (coff_link_input_bfd): syment_base is unsigned
+       so can't compare -ve numbers with it.
+
+Mon Sep 12 20:31:17 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * configure.in (shcoff_vec): Use cofflink.o now.
+       * coff-sh.c: Rewritten to use new fast coff backend.
+
+Tue Sep 13 16:23:57 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * aoutx.h (NAME(aout,final_link)): Don't assume that all the input
+        files are a.out.
+
+Tue Sep 13 11:09:39 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * configure.host (sparc-*-netbsd): use sparcnbsd.
+         (ns32k-*-netbsd): use ns32knbsd.
+
+       * hosts/{nbsd,i386nbsd,ns32knbsd,sparcnbsd}.h: New files, NetBSD
+         host support.
+
+       * sparcnetbsd.c: New file, adds support for NetBSD/sparc.
+       * config/sparc-nbsd.mt: Likewise.
+
+       * netbsd.h: New file, definitions common to all netbsd ports.
+       * i386netbsd.c: Use it.
+        * ns32knetbsd.c: Use it.
+
+       * Makefile.in, configure.in, targets.c, config/i386-nbsd.mt,
+         config/ns32k-nbsd.mt: canonicalize netbsd targets to conform to
+         file/variable naming conventions.
+       * i386netbsd.c: New file, renamed from netbsd386.c.
+       * ns32knetbsd.c: New file, renamed from netbsd532.c.
+       
+Mon Sep 12 21:56:20 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * som.c (som_reloc_skip): Correct off-by-one error for 4-byte
+       R_NO_RELOCATION fixups.
+       (bfd_section_from_som_symbol): Return the absolute section if the
+       symbol isn't contained in any section in the output file.
+       (som_slurp_symbol_table): ST_PRI_PROG and ST_SEC_PROG symbols are
+       not function symbols (they are magic code labels which *can* be the
+       targets of cross space branches).  $START$ is not a section symbol.
+
+Mon Sep 12 11:43:08 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
+
+       * coff-alpha.c (ecoffalpha_little_vec): Add SEC_CODE and SEC_DATA
+       to section_flags.
+       * coff-mips.c (ecoff_little_vec, ecoff_big_vec): Likewise.
+
+       * elfcode.h (swap_out_syms): Set the type of an undefined symbol
+       to STT_FUNC if the BSF_FUNCTION flag is set.
+
+       * cofflink.c (coff_link_input_bfd): If r_symndx is -1, don't
+       change it.
+       (_bfd_coff_generic_relocate_section): If r_symndx is -1, it is an
+       absolute reloc.  Don't dump core using r_symndx as an array index.
+       * cf-m68klynx.c (coff_bfd_link_add_symbols): Define.
+       (lynx_link_add_symbols): New static function (copy of function in
+       coff-i386.c).
+       (coff_m68k_lynxrtype_to_howto): sym argument may be NULL.
+       * coff-i386.c (coff_i386_rtype_to_howto): Likewise.
+       * coff-a29k.c (coff_a29k_relocate_section): Handle an r_symndx
+       value of -1, meaning an absolute reloc.
+
+       * ctor.c: Remove; obsolete.
+       * Makefile.in: Rebuild dependencies.
+       (BFD_LIBS): Remove ctor.o.
+       (CFILES): Remove ctor.c.
+       * libbfd.h: Rebuild.
+
+Mon Sep 12 01:58:47 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * elf32-hppa.c (elf32_hppa_relocate_section): If there was a link
+       error of some sort (for example, undefined symbols), then do not
+       apply any relocs, just notify the user of the errors.
+       (elf32_hppa_backend_begin_write_processing): Do not build a symbol
+       extension section for an executable (it's useless).
+       (elf32_hppa_link_output_symbol_hook): Do nothing if there was a
+       link error of some sort (for example, undefined symbols).
+       (elf32_hppa_read_symext_info): Kludge.  Turn off SEC_HAS_CONTENTS
+       for all the input symbol extension sections to keep the generic
+       BFD code happy.  Temporarily turn it on to read the contents of
+       the symbol extension section.
+
+Sun Sep 11 21:58:59 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/hppaosf.mh (RANLIB): Do not set.
+       * config/hppabsd.mh (RANLIB): Likewise.
+
 Sun Sep 11 22:50:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * cf-i386lynx.c: Remove #if 0 code.
@@ -231,7 +330,6 @@ Wed Aug 24 11:49:19 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
        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.