* config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
authorJ.T. Conklin <jtc@acorntoolworks.com>
Fri, 4 Nov 1994 00:13:13 +0000 (00:13 +0000)
committerJ.T. Conklin <jtc@acorntoolworks.com>
Fri, 4 Nov 1994 00:13:13 +0000 (00:13 +0000)
  "a.out-m68k-netbsd".
* config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
  "a.out-sparc-netbsd".

* config/te-nbsd.h: New file, NetBSD target emulation
* config/te-netbsd.h: Removed.
* configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*):
  Set bfd_gas.  Use nbsd emulation.

gas/ChangeLog
gas/config/te-nbsd.h [moved from gas/config/te-netbsd.h with 84% similarity]
gas/configure.in

index d5118b0..54384db 100644 (file)
@@ -1,3 +1,15 @@
+Thu Nov  3 16:09:59 1994  J.T. Conklin  (jtc@rtl.cygnus.com)
+
+       * config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as
+         "a.out-m68k-netbsd".
+       * config/tc-sparc.h (TARGET_FORMAT): If TE_NetBSD define as
+         "a.out-sparc-netbsd".
+
+       * config/te-nbsd.h: New file, NetBSD target emulation
+       * config/te-netbsd.h: Removed.
+       * configure.in (i[345]86-*-netbsd*,m68*-*-netbsd*,sparc*-*-netbsd*): 
+         Set bfd_gas.  Use nbsd emulation.
+
 Thu Nov  3 17:44:47 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>
 
        Changes from net 2.5.2 release branch:
similarity index 84%
rename from gas/config/te-netbsd.h
rename to gas/config/te-nbsd.h
index 9547b8e..d995a2e 100644 (file)
@@ -1,4 +1,4 @@
-/* te-386bsd.h -- 386BSD target environment declarations.
+/* te-nbsd.h -- NetBSD target environment declarations.
    Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
    
    This file is part of GAS, the GNU Assembler.
    the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #define TE_NetBSD      1
-
 #include "obj-format.h"
-
-/*
- * Local Variables:
- * comment-column: 0
- * fill-column: 131
- * End:
- */
-
-/* end of te-sun3.h */
index 70cf05e..01fb6ef 100644 (file)
@@ -85,7 +85,7 @@ case ${generic_target} in
                         emulation=i386aix ;;
   i386-*-bsd*)         obj_format=aout emulation=386bsd ;;
   i386-*-netbsd0.8)    obj_format=aout emulation=386bsd ;;
-  i386-*-netbsd*)      obj_format=aout emulation=netbsd ;;
+  i386-*-netbsd*)      obj_format=aout emulation=nbsd bfd_gas=yes;;
   i386-*-linux*elf*)   obj_format=elf  emulation=linux ;;
   i386-*-linux*coff*)  obj_format=coff emulation=linux
                         gas_target=i386coff ;;
@@ -119,6 +119,7 @@ case ${generic_target} in
   m68k-*-hpux*)                obj_format=hp300 emulation=hp300 ;;
   m68k-*-lynxos*)      obj_format=coff gas_target=m68kcoff
                         emulation=lynx ;;
+  m68k-*-netbsd*)      obj_format=aout emulation=nbsd bfd_gas=yes ;;
 
   m88k-*-coff*)                obj_format=coff gas_target=m88kcoff ;;
 
@@ -160,6 +161,7 @@ case ${generic_target} in
   sparc*-fujitsu-none) obj_format=aout ;;
   sparc*-*-elf | sparc*-*-solaris*)
                        obj_format=elf ;;
+  sparc*-*-netbsd*)    obj_format=aout emulation=nbsd bfd_gas=yes ;;
 
   vax-*-bsd* | vax-*-ultrix*)
                        obj_format=aout ;;