summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-13 21:01:08 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-04-13 21:01:08 +0000
commita3a2ac58885b86d5bb9e2901a633ce6f69f6ef37 (patch)
treeb88125dd99795bdfd5f7f73f246a8e2cb58cd191
parent564eb9d351c642306dbf64ff60ec25d208e1b86f (diff)
More consistent MIPS config
-rw-r--r--gnu/usr.bin/binutils/bfd/config.bfd6
-rw-r--r--gnu/usr.bin/binutils/bfd/configure5
-rw-r--r--gnu/usr.bin/binutils/config.guess14
3 files changed, 16 insertions, 9 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd
index 4c86e4dc833..75595196b9e 100644
--- a/gnu/usr.bin/binutils/bfd/config.bfd
+++ b/gnu/usr.bin/binutils/bfd/config.bfd
@@ -353,10 +353,14 @@ case "${targ}" in
targ_defvec=m88kbcs_vec
targ_underscore=yes
;;
- mips*-*-openbsd*)
+ mips*el-*-openbsd*)
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs=bfd_elf32_bigmips_vec
;;
+ mips*-*-openbsd*)
+ targ_defvec=bfd_elf32_bigmips_vec
+ targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec"
+ ;;
mips*-big-*)
targ_defvec=ecoff_big_vec
targ_selvecs=ecoff_little_vec
diff --git a/gnu/usr.bin/binutils/bfd/configure b/gnu/usr.bin/binutils/bfd/configure
index 3c5db469545..d0e575e252d 100644
--- a/gnu/usr.bin/binutils/bfd/configure
+++ b/gnu/usr.bin/binutils/bfd/configure
@@ -1664,7 +1664,7 @@ EOF
EOF
;;
- mips-*-openbsd*)
+ mips*-*-openbsd*)
COREFILE=netbsd-core.o
;;
mips-dec-bsd*)
@@ -1681,9 +1681,6 @@ EOF
EOF
;;
- mips-*-netbsd*)
- COREFILE=netbsd-core.o
- ;;
mips-*-openbsd*)
COREFILE=netbsd-core.o
;;
diff --git a/gnu/usr.bin/binutils/config.guess b/gnu/usr.bin/binutils/config.guess
index 5ef19b5a18a..5ba0ad6bde5 100644
--- a/gnu/usr.bin/binutils/config.guess
+++ b/gnu/usr.bin/binutils/config.guess
@@ -71,16 +71,22 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arc:OpenBSD:*:*)
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ arc64:OpenBSD:*:*)
echo mips64el-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
- laguna:OpenBSD:*:*)
- echo mips64-unknown-openbsd${UNAME_RELEASE}
+ hkmips:OpenBSD:*:*)
+ echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
- echo mips64el-unknown-openbsd${UNAME_RELEASE}
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ sgi:OpenBSD:*:*)
+ echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
- echo mips64el-unknown-openbsd${UNAME_RELEASE}
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}