summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-02 12:46:19 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-04-02 12:46:19 +0000
commitb421e3ae92b81c0eff778c457078785418278893 (patch)
treee9e0b2e61f8b06c51fe1e74b617fe0e250dcd031
parent19da43a1fbca62368c654598d27ba826078bfbef (diff)
move things around so host part can be reused by sparc64.
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/obsd.mh2
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/obsd.mt2
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/tm-obsd.h4
3 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mh b/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mh
index a7a0940bd90..ae7de853f78 100644
--- a/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mh
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mh
@@ -3,4 +3,4 @@ XDEPFILES= ser-tcp.o
XM_FILE= xm-obsd.h
NAT_FILE= nm-obsd.h
NAT_CLIBS= -lkvm
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o kcore-nbsd.o sparcnbsd-nat.o
+NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o kcore-nbsd.o sparcnbsd-nat.o solib.o
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mt b/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mt
index e7598446aed..ae148ac88ca 100644
--- a/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mt
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/obsd.mt
@@ -1,3 +1,3 @@
# Target: Sun 4 or Sparcstation, running OpenBSD
-TDEPFILES= sparc-tdep.o solib.o
+TDEPFILES= sparc-tdep.o
TM_FILE= tm-obsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/tm-obsd.h b/gnu/usr.bin/binutils/gdb/config/sparc/tm-obsd.h
index 85afa92dfdb..4e45600fdd8 100644
--- a/gnu/usr.bin/binutils/gdb/config/sparc/tm-obsd.h
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/tm-obsd.h
@@ -20,7 +20,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef TM_OBSD_H
#define TM_OBSD_H
+#ifdef __arch64__
+#include "sparc/tm-sp64.h"
+#else
#include "sparc/tm-sparc.h"
+#endif
#include "tm-obsd.h"