summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gas
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/binutils/gas
parent8ef3249abbd8a6bfcf9cd72381b670fdade4be3a (diff)
Repair mips-based targets, espie@ ok
Diffstat (limited to 'gnu/usr.bin/binutils/gas')
-rw-r--r--gnu/usr.bin/binutils/gas/configure3
-rw-r--r--gnu/usr.bin/binutils/gas/configure.in3
2 files changed, 4 insertions, 2 deletions
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.) ;;