From 69a374c0c47b6d8f13a4854217bdc4fe11a9c010 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sat, 28 Oct 1995 00:34:10 +0000 Subject: Separate i386 & mips NetBSD configurations from other BSD ones. Don't assume DEC is the only thing NetBSD/mips run on. Add {m68k,ns32k,sparc}-*-netbsd* configurations. Add support for m68k4k NetBSD object format. --- bfd/configure | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) (limited to 'bfd/configure') diff --git a/bfd/configure b/bfd/configure index 9ce2cbc..401236e 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1001,13 +1001,20 @@ EOF EOF ;; - i[345]86-*-bsd* | i[345]86-*-freebsd* | i[345]86-*-netbsd*) + i[345]86-*-bsd* | i[345]86-*-freebsd*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF #define TRAD_HEADER "hosts/i386bsd.h" EOF ;; + i[345]86-*-netbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/i386nbsd.h" +EOF + + ;; i[345]86-esix-sysv3*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF @@ -1052,7 +1059,13 @@ EOF EOF ;; - mips-dec-netbsd*) ;; + mips-*-netbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/mipsnbsd.h" +EOF + + ;; mips-dec-*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF @@ -1107,6 +1120,13 @@ EOF EOF ;; + m68*-*-netbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/m68knbsd.h" +EOF + + ;; m88*-*-sysv4*) ;; m88*-motorola-sysv*) COREFILE=trad-core.o ;; m88*-*-mach3*) @@ -1123,11 +1143,25 @@ EOF EOF ;; + ns32k-*-netbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/ns32knbsd.h" +EOF + + ;; rs6000-*-lynx*) COREFILE=lynx-core.o ;; rs6000-*-aix4*) COREFILE=rs6000-core.o ;; rs6000-*-*) COREFILE=rs6000-core.o ;; powerpc-*-aix4*) COREFILE=rs6000-core.o ;; powerpc-*-aix*) COREFILE=rs6000-core.o ;; + sparc-*-netbsd*) + COREFILE=trad-core.o + cat >> confdefs.h <<\EOF +#define TRAD_HEADER "hosts/sparcnbsd.h" +EOF + + ;; tahoe-*-*) COREFILE=trad-core.o cat >> confdefs.h <<\EOF @@ -1178,7 +1212,7 @@ EOF echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return 0; } @@ -1354,6 +1388,7 @@ do m68klynx_aout_vec) tb="$tb m68klynx.o lynx-core.o aout32.o stab-syms.o" ;; m68klynx_coff_vec) tb="$tb cf-m68klynx.o coff-m68k.o cofflink.o lynx-core.o stab-syms.o" ;; m68knetbsd_vec) tb="$tb m68knetbsd.o aout32.o stab-syms.o" ;; + m68k4knetbsd_vec) tb="$tb m68k4knetbsd.o aout32.o stab-syms.o" ;; m88kbcs_vec) tb="$tb coff-m88k.o" ;; newsos3_vec) tb="$tb newsos3.o aout32.o stab-syms.o" ;; nlm32_i386_vec) tb="$tb nlm32-i386.o nlm32.o nlm.o" ;; -- cgit v1.1