summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorHugh Graham <hugh@cvs.openbsd.org>2002-02-13 10:00:49 +0000
committerHugh Graham <hugh@cvs.openbsd.org>2002-02-13 10:00:49 +0000
commit2ecd272e5b2a6fe396a3ab21f8ccaa0ec5cbf399 (patch)
treee769a814d50cc253678b414215b236c816233f39 /gnu
parenta8fb8f9ebf32aff41a70181d19a47536b6fab9ea (diff)
Changes necessary to configure vax. Confirmed by miod + theo.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/bfd/config.bfd5
-rw-r--r--gnu/usr.bin/binutils/bfd/configure5
-rw-r--r--gnu/usr.bin/binutils/configure.in3
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.tgt1
4 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd
index e666b150ac6..30a1a40e2ea 100644
--- a/gnu/usr.bin/binutils/bfd/config.bfd
+++ b/gnu/usr.bin/binutils/bfd/config.bfd
@@ -783,6 +783,11 @@ case "${targ}" in
;;
#endif
+ vax-*-openbsd*)
+ targ_defvec=vaxnetbsd_vec
+ targ_underscore=yes
+ ;;
+
vax*-*-*vms*)
targ_defvec=vms_vax_vec
;;
diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure
index 97ba57f0b21..025f652de52 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -4576,6 +4576,10 @@ if test "${target}" = "${host}"; then
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/tahoe.h"'
;;
+ vax-*-openbsd*)
+ COREFILE=netbsd-core.lo
+ COREFLAG=-DNETBSD_CORE
+ ;;
vax-*-ultrix2*)
COREFILE=trad-core.lo
TRAD_HEADER='"hosts/vaxult2.h"'
@@ -5210,6 +5214,7 @@ do
vms_vax_vec) tb="$tb vms.lo vms-hdr.lo vms-gsd.lo vms-tir.lo vms-misc.lo" ;;
w65_vec) tb="$tb coff-w65.lo reloc16.lo" ;;
we32kcoff_vec) tb="$tb coff-we32k.lo" ;;
+ vaxnetbsd_vec) tb="$tb vaxnetbsd.lo aout32.lo" ;;
z8kcoff_vec) tb="$tb coff-z8k.lo reloc16.lo" ;;
"") ;;
diff --git a/gnu/usr.bin/binutils/configure.in b/gnu/usr.bin/binutils/configure.in
index 5c9bb580b56..4e4ac8f162d 100644
--- a/gnu/usr.bin/binutils/configure.in
+++ b/gnu/usr.bin/binutils/configure.in
@@ -872,6 +872,9 @@ case "${target}" in
vax-*-vms)
noconfigdirs="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss"
;;
+ vax-*-openbsd*)
+ noconfigdirs="$noconfigdirs ld gas gprof"
+ ;;
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt
index fe4744a822d..6481d5fc96b 100644
--- a/gnu/usr.bin/binutils/gdb/configure.tgt
+++ b/gnu/usr.bin/binutils/gdb/configure.tgt
@@ -243,6 +243,7 @@ sparc64-*-*) gdb_target=sp64 ;;
tahoe-*-*) gdb_target=tahoe ;;
+vax-*-openbsd*) gdb_target=obsd ;;
vax-*-*) gdb_target=vax ;;
w65-*-*) gdb_target=w65 ;;