summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2000-10-29 22:53:48 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2000-10-29 22:53:48 +0000
commitad31a78f5641d23d05a86d888fefaacf34154c91 (patch)
treee5e36b366879ee8dc4b4dcaa4392270c2b68e1c6 /gnu/usr.bin
parent8ef3249abbd8a6bfcf9cd72381b670fdade4be3a (diff)
Repair mips-based targets, espie@ ok
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/configure.in2
-rw-r--r--gnu/usr.bin/binutils/gas/configure3
-rw-r--r--gnu/usr.bin/binutils/gas/configure.in3
-rw-r--r--gnu/usr.bin/binutils/ld/configure.tgt2
4 files changed, 8 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/configure.in b/gnu/usr.bin/binutils/configure.in
index 8171c53cdf0..5c9bb580b56 100644
--- a/gnu/usr.bin/binutils/configure.in
+++ b/gnu/usr.bin/binutils/configure.in
@@ -818,6 +818,8 @@ case "${target}" in
noconfigdirs="$noconfigdirs gprof" # same as generic mips
target_configdirs="${target_configdirs} target-bsp target-libstub target-cygmon"
;;
+ mips*-*-openbsd*)
+ ;;
mips*-*-*)
noconfigdirs="$noconfigdirs gprof"
;;
diff --git a/gnu/usr.bin/binutils/gas/configure b/gnu/usr.bin/binutils/gas/configure
index bb0ce7aec4a..b181d992d08 100644
--- a/gnu/usr.bin/binutils/gas/configure
+++ b/gnu/usr.bin/binutils/gas/configure
@@ -1798,7 +1798,8 @@ EOF
# don't change em like *-*-bsd does
mips-dec-netbsd*) fmt=elf endian=little ;;
- mips-dec-openbsd*) fmt=elf endian=little ;;
+ mips*el-*-openbsd*) fmt=elf endian=little ;;
+ mips*-*-openbsd*) fmt=elf endian=big ;;
mips-dec-bsd*) fmt=aout endian=little ;;
mips-sony-bsd*) fmt=ecoff ;;
mips-*-bsd*) { echo "configure: error: Unknown vendor for mips-bsd configuration." 1>&2; exit 1; } ;;
diff --git a/gnu/usr.bin/binutils/gas/configure.in b/gnu/usr.bin/binutils/gas/configure.in
index 283d49c5b05..7c2721e98ea 100644
--- a/gnu/usr.bin/binutils/gas/configure.in
+++ b/gnu/usr.bin/binutils/gas/configure.in
@@ -276,7 +276,8 @@ changequote([,])dnl
# don't change em like *-*-bsd does
mips-dec-netbsd*) fmt=elf endian=little ;;
- mips-dec-openbsd*) fmt=elf endian=little ;;
+ mips*el-*-openbsd*) fmt=elf endian=little ;;
+ mips*-*-openbsd*) fmt=elf endian=big ;;
mips-dec-bsd*) fmt=aout endian=little ;;
mips-sony-bsd*) fmt=ecoff ;;
mips-*-bsd*) AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;;
diff --git a/gnu/usr.bin/binutils/ld/configure.tgt b/gnu/usr.bin/binutils/ld/configure.tgt
index 546d99523ad..904f016fc02 100644
--- a/gnu/usr.bin/binutils/ld/configure.tgt
+++ b/gnu/usr.bin/binutils/ld/configure.tgt
@@ -229,6 +229,8 @@ mips*el-*-ecoff*) targ_emul=mipsidtl ;;
mips*-*-ecoff*) targ_emul=mipsidt ;;
mips*-dec-bsd*) targ_emul=mipsbsd ;;
mips*-dec-netbsd*) targ_emul=elf32lmip ;;
+mips*el-*-openbsd*) targ_emul=elf32lmip ;;
+mips*-*-openbsd*) targ_emul=elf32bmip ;;
mips*-*-bsd*) targ_emul=mipsbig ;;
mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;