summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 10:13:55 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-08-01 10:13:55 +0000
commitf9c02c172ba6936ce4cd86630bb8fbea73c5ccad (patch)
tree7f6d224310ee108a7a687ac4a1cc70cc018fff1d
parentd080ea5049ab624c45e74ed1b12996f7aa19e674 (diff)
Add OpenBSD/alpha support
-rw-r--r--gnu/usr.bin/binutils/bfd/configure3
-rw-r--r--gnu/usr.bin/binutils/gas/configure1
-rw-r--r--gnu/usr.bin/binutils/ld/configure.host9
3 files changed, 13 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure
index 99b6b254f63..50b4382b014 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -1400,6 +1400,9 @@ if test "${target}" = "${host}"; then
EOF
;;
+ alpha*-*-openbsd*)
+ COREFILE=netbsd-core.o
+ ;;
alpha*-*-*) COREFILE=osf-core.o ;;
arm-*-riscix) COREFILE=trad-core.o ;;
hppa*-*-hpux*) COREFILE=hpux-core.o ;;
diff --git a/gnu/usr.bin/binutils/gas/configure b/gnu/usr.bin/binutils/gas/configure
index 3317ec0a831..2c66a35ded3 100644
--- a/gnu/usr.bin/binutils/gas/configure
+++ b/gnu/usr.bin/binutils/gas/configure
@@ -754,6 +754,7 @@ for this_target in $target $canon_targets ; do
a29k-*-vxworks*) fmt=coff ;;
alpha-*-netware*) fmt=ecoff ;;
+ alpha-*-openbsd*) fmt=ecoff ;;
alpha-*-osf*) fmt=ecoff ;;
alpha-*-linux*) fmt=ecoff ;;
diff --git a/gnu/usr.bin/binutils/ld/configure.host b/gnu/usr.bin/binutils/ld/configure.host
index 510f958a8f4..778e5cb7906 100644
--- a/gnu/usr.bin/binutils/ld/configure.host
+++ b/gnu/usr.bin/binutils/ld/configure.host
@@ -22,6 +22,15 @@ alpha-*-linux*)
HOSTING_CRT0=/usr/lib/crt0.o
;;
+alpha-*-openbsd*)
+ # The new BSD `make' has a bug: it doesn't pass empty arguments in
+ # shell commands. So we need to make this value non-empty in order
+ # for the genscripts.sh call to work. There's nothing magic about
+ # the value `/lib'; it's just a dummy.
+ NATIVE_LIB_DIRS=/lib
+ HOSTING_CRT0=/usr/lib/crt0.o
+ ;;
+
alpha-*-*)
HOSTING_CRT0=/usr/ccs/lib/crt0.o
NATIVE_LIB_DIRS=/usr/ccs/lib