From: J.T. Conklin Date: Fri, 4 Nov 1994 00:13:13 +0000 (+0000) Subject: * config/tc-m68k.h (TARGET_FORMAT): If TE_NetBSD define as X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0cb42d6f8eb143d2837bf16c6e6ffb164cdbc8e6;p=binutils-gdb.git * 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d5118b02363..54384db0eb3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 Changes from net 2.5.2 release branch: diff --git a/gas/config/te-nbsd.h b/gas/config/te-nbsd.h new file mode 100644 index 00000000000..d995a2e3597 --- /dev/null +++ b/gas/config/te-nbsd.h @@ -0,0 +1,21 @@ +/* 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. + + GAS is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + GAS is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GAS; see the file COPYING. If not, write to + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#define TE_NetBSD 1 +#include "obj-format.h" diff --git a/gas/config/te-netbsd.h b/gas/config/te-netbsd.h deleted file mode 100644 index 9547b8ef241..00000000000 --- a/gas/config/te-netbsd.h +++ /dev/null @@ -1,31 +0,0 @@ -/* te-386bsd.h -- 386BSD target environment declarations. - Copyright (C) 1987, 1990, 1991, 1992 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - GAS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to - 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 */ diff --git a/gas/configure.in b/gas/configure.in index 70cf05e2543..01fb6efc092 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -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 ;;