summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-11-09 19:38:35 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-11-09 19:38:35 +0000
commita0e5357eae789190bc334f33d5aae405cefc7334 (patch)
tree8829e9740b393951bed2f12429e29d7608257d67 /gnu/usr.bin/binutils
parenta3df62c9499017accd43392b7bd35535e262f9db (diff)
Initial stab at OpenBSD/sh support.
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sh/obsd.mh3
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sh/obsd.mt3
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.host2
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.tgt1
4 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sh/obsd.mh b/gnu/usr.bin/binutils/gdb/config/sh/obsd.mh
new file mode 100644
index 00000000000..a9a5124e835
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sh/obsd.mh
@@ -0,0 +1,3 @@
+# Host: OpenBSD/sh
+NATDEPFILES= fork-child.o inf-ptrace.o shnbsd-nat.o
+NAT_FILE= config/nm-bsd.h
diff --git a/gnu/usr.bin/binutils/gdb/config/sh/obsd.mt b/gnu/usr.bin/binutils/gdb/config/sh/obsd.mt
new file mode 100644
index 00000000000..347bdecb27c
--- /dev/null
+++ b/gnu/usr.bin/binutils/gdb/config/sh/obsd.mt
@@ -0,0 +1,3 @@
+# Target: OpenBSD/sh
+TDEPFILES= sh-tdep.o shnbsd-tdep.o nbsd-tdep.o corelow.o solib.o solib-svr4.o
+DEPRECATED_TM_FILE= solib.h
diff --git a/gnu/usr.bin/binutils/gdb/configure.host b/gnu/usr.bin/binutils/gdb/configure.host
index 8ecf1794f62..ad3440a52d6 100644
--- a/gnu/usr.bin/binutils/gdb/configure.host
+++ b/gnu/usr.bin/binutils/gdb/configure.host
@@ -124,7 +124,7 @@ s390*-*-*) gdb_host=s390 ;;
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu)
gdb_host=nbsd ;;
-sh-*-openbsd*) gdb_host=obsd ;;
+sh*-*-openbsd*) gdb_host=obsd ;;
sparc64-*-freebsd* | sparc64-*-kfreebsd*-gnu)
gdb_host=fbsd ;;
diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt
index ad260433386..897f7fdd558 100644
--- a/gnu/usr.bin/binutils/gdb/configure.tgt
+++ b/gnu/usr.bin/binutils/gdb/configure.tgt
@@ -181,6 +181,7 @@ sh-*-linux*) gdb_target=linux
sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu | sh*-*-openbsd*)
gdb_target=nbsd ;;
sh-*-nto*) gdb_target=nto ;;
+sh*-*-openbsd*) gdb_target=obsd ;;
sh*) gdb_target=embed ;;
sparc-*-linux*) gdb_target=linux ;;