summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-01-31 23:35:03 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-01-31 23:35:03 +0000
commit47bd8265fda6e4b4510ea0e97e3c906553c1fd3d (patch)
tree61245082cbd6a7b33fb1d76046f60965e1bf332b
parent1a6b851747c0e78911a09dbe8acbea8127a60be7 (diff)
Enable shared libraries on m88k platforms.
And there was much rejoicing.
-rw-r--r--gnu/usr.bin/binutils/gdb/config/m88k/obsd.mt3
-rw-r--r--gnu/usr.bin/perl/hints/openbsd.sh2
-rw-r--r--share/mk/bsd.own.mk4
3 files changed, 5 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/m88k/obsd.mt b/gnu/usr.bin/binutils/gdb/config/m88k/obsd.mt
index 36e61bbadac..49f8acb147a 100644
--- a/gnu/usr.bin/binutils/gdb/config/m88k/obsd.mt
+++ b/gnu/usr.bin/binutils/gdb/config/m88k/obsd.mt
@@ -1,2 +1,3 @@
# Target: OpenBSD/m88k
-TDEPFILES= m88k-tdep.o corelow.o
+TDEPFILES= m88k-tdep.o corelow.o solib.o solib-svr4.o
+DEPRECATED_TM_FILE= solib.h
diff --git a/gnu/usr.bin/perl/hints/openbsd.sh b/gnu/usr.bin/perl/hints/openbsd.sh
index d4f45def2cd..4890bd3e99d 100644
--- a/gnu/usr.bin/perl/hints/openbsd.sh
+++ b/gnu/usr.bin/perl/hints/openbsd.sh
@@ -35,7 +35,7 @@ esac
#
ARCH=`arch | sed 's/^OpenBSD.//'`
case "${ARCH}-${osvers}" in
-alpha-2.[0-8]|mips-2.[0-8]|powerpc-2.[0-7]|m88k-*|hppa-3.[0-5]|vax-*)
+alpha-2.[0-8]|mips-2.[0-8]|powerpc-2.[0-7]|m88k-[2-4].*|m88k-5.[0-2]|hppa-3.[0-5]|vax-*)
test -z "$usedl" && usedl=$undef
;;
*)
diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk
index 64402f823ef..bdeb1fe5d06 100644
--- a/share/mk/bsd.own.mk
+++ b/share/mk/bsd.own.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.own.mk,v 1.133 2013/01/05 11:20:55 miod Exp $
+# $OpenBSD: bsd.own.mk,v 1.134 2013/01/31 23:35:02 miod Exp $
# $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $
# Host-specific overrides
@@ -140,7 +140,7 @@ STATIC?= -static
# don't try to generate PIC versions of libraries on machines
# which don't support PIC.
-.if ${MACHINE_ARCH} == "m88k" || ${MACHINE_ARCH} == "vax"
+.if ${MACHINE_ARCH} == "vax"
NOPIC=
.endif