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-Tag: gdb-4_18~13135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cb42d6f8eb143d2837bf16c6e6ffb164cdbc8e6;p=external%2Fbinutils.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 d5118b0..54384db 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-netbsd.h b/gas/config/te-nbsd.h similarity index 84% rename from gas/config/te-netbsd.h rename to gas/config/te-nbsd.h index 9547b8e..d995a2e 100644 --- a/gas/config/te-netbsd.h +++ b/gas/config/te-nbsd.h @@ -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. @@ -18,14 +18,4 @@ 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 70cf05e..01fb6ef 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 ;;