* 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.
This commit is contained in:
J.T. Conklin
1994-11-04 00:13:13 +00:00
parent a051e7ccbe
commit 0cb42d6f8e
3 changed files with 16 additions and 12 deletions

@ -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> Thu Nov 3 17:44:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
Changes from net 2.5.2 release branch: Changes from net 2.5.2 release branch:

@ -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. Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler. This file is part of GAS, the GNU Assembler.
@ -18,14 +18,4 @@
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define TE_NetBSD 1 #define TE_NetBSD 1
#include "obj-format.h" #include "obj-format.h"
/*
* Local Variables:
* comment-column: 0
* fill-column: 131
* End:
*/
/* end of te-sun3.h */

@ -85,7 +85,7 @@ case ${generic_target} in
emulation=i386aix ;; emulation=i386aix ;;
i386-*-bsd*) obj_format=aout emulation=386bsd ;; i386-*-bsd*) obj_format=aout emulation=386bsd ;;
i386-*-netbsd0.8) 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*elf*) obj_format=elf emulation=linux ;;
i386-*-linux*coff*) obj_format=coff emulation=linux i386-*-linux*coff*) obj_format=coff emulation=linux
gas_target=i386coff ;; gas_target=i386coff ;;
@ -119,6 +119,7 @@ case ${generic_target} in
m68k-*-hpux*) obj_format=hp300 emulation=hp300 ;; m68k-*-hpux*) obj_format=hp300 emulation=hp300 ;;
m68k-*-lynxos*) obj_format=coff gas_target=m68kcoff m68k-*-lynxos*) obj_format=coff gas_target=m68kcoff
emulation=lynx ;; emulation=lynx ;;
m68k-*-netbsd*) obj_format=aout emulation=nbsd bfd_gas=yes ;;
m88k-*-coff*) obj_format=coff gas_target=m88kcoff ;; m88k-*-coff*) obj_format=coff gas_target=m88kcoff ;;
@ -160,6 +161,7 @@ case ${generic_target} in
sparc*-fujitsu-none) obj_format=aout ;; sparc*-fujitsu-none) obj_format=aout ;;
sparc*-*-elf | sparc*-*-solaris*) sparc*-*-elf | sparc*-*-solaris*)
obj_format=elf ;; obj_format=elf ;;
sparc*-*-netbsd*) obj_format=aout emulation=nbsd bfd_gas=yes ;;
vax-*-bsd* | vax-*-ultrix*) vax-*-bsd* | vax-*-ultrix*)
obj_format=aout ;; obj_format=aout ;;