summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 15:35:04 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-07-06 15:35:04 +0000
commitdd170c1c600cbac19fbb104d86d286d102aabddc (patch)
treec218e75dfc6a99f814559d3616b90e82c7d4db96
parent18e2d635ac8b6905088ab53e98c3d300f656a2ef (diff)
Define NETBSD_CORE for all Open/NetBSD targets and sync configure+configure.in
-rw-r--r--gnu/usr.bin/binutils/bfd/configure14
-rw-r--r--gnu/usr.bin/binutils/bfd/configure.in16
2 files changed, 23 insertions, 7 deletions
diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure
index 55d4e93a6bd..96ec7e781cf 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -1624,9 +1624,11 @@ EOF
;;
i[3456]86-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
i[3456]86-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
i[3456]86-esix-sysv3*)
COREFILE=trad-core.o
@@ -1667,6 +1669,7 @@ EOF
;;
mips*-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
mips-dec-bsd*)
COREFILE=trad-core.o
@@ -1682,8 +1685,9 @@ EOF
EOF
;;
- mips-*-openbsd*)
+ mips-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
mips-dec-*)
COREFILE=trad-core.o
@@ -1754,9 +1758,11 @@ EOF
;;
m68*-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
m68*-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
m68*-apple-aux*)
COREFILE=trad-core.o
@@ -1783,21 +1789,25 @@ EOF
;;
ns32k-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
ns32k-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
rs6000-*-lynx*) COREFILE=lynx-core.o ;;
rs6000-*-aix4*) COREFILE=rs6000-core.o ;;
rs6000-*-*) COREFILE=rs6000-core.o ;;
- powerpc-*-*bsd*) COREFILE=netbsd-core.o ;;
+ powerpc-*-*bsd*) COREFILE=netbsd-core.o;COREFLAG=-DNETBSD_CORE;;
powerpc-*-aix4*) COREFILE=rs6000-core.o ;;
powerpc-*-aix*) COREFILE=rs6000-core.o ;;
sparc-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
sparc-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
tahoe-*-*)
COREFILE=trad-core.o
diff --git a/gnu/usr.bin/binutils/bfd/configure.in b/gnu/usr.bin/binutils/bfd/configure.in
index e056af0134c..814d4bcd63d 100644
--- a/gnu/usr.bin/binutils/bfd/configure.in
+++ b/gnu/usr.bin/binutils/bfd/configure.in
@@ -183,11 +183,13 @@ changequote(,)dnl
i[3456]86-*-netbsd*)
changequote([,])dnl
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
changequote(,)dnl
i[3456]86-*-openbsd*)
changequote([,])dnl
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
changequote(,)dnl
i[3456]86-esix-sysv3*)
@@ -221,8 +223,9 @@ changequote([,])dnl
COREFILE=trad-core.o
AC_DEFINE(TRAD_HEADER,"hosts/i860mach3.h")
;;
- mips-*-openbsd*)
+ mips*-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
mips-dec-bsd*)
COREFILE=trad-core.o
@@ -234,9 +237,7 @@ changequote([,])dnl
;;
mips-*-netbsd*)
COREFILE=netbsd-core.o
- ;;
- mips-*-openbsd*)
- COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
mips-dec-*)
COREFILE=trad-core.o
@@ -280,9 +281,11 @@ changequote([,])dnl
;;
m68*-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
m68*-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
m68*-apple-aux*)
COREFILE=trad-core.o
@@ -300,18 +303,21 @@ changequote([,])dnl
;;
ns32k-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
ns32k-*-openbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
rs6000-*-lynx*) COREFILE=lynx-core.o ;;
rs6000-*-aix4*) COREFILE=rs6000-core.o ;;
rs6000-*-*) COREFILE=rs6000-core.o ;;
- powerpc-*-*bsd*) COREFILE=netbsd-core.o ;;
+ powerpc-*-*bsd*) COREFILE=netbsd-core.o; COREFLAG=-DNETBSD_CORE;;
powerpc-*-aix4*) COREFILE=rs6000-core.o ;;
powerpc-*-aix*) COREFILE=rs6000-core.o ;;
sparc-*-netbsd*)
COREFILE=netbsd-core.o
+ COREFLAG=-DNETBSD_CORE
;;
sparc-*-openbsd*)
COREFILE=netbsd-core.o