More consistent MIPS config
authorpefo <pefo@openbsd.org>
Sun, 13 Apr 1997 21:00:18 +0000 (21:00 +0000)
committerpefo <pefo@openbsd.org>
Sun, 13 Apr 1997 21:00:18 +0000 (21:00 +0000)
gnu/usr.bin/binutils/bfd/config.bfd
gnu/usr.bin/binutils/bfd/configure
gnu/usr.bin/binutils/config.guess

index 4c86e4d..7559519 100644 (file)
@@ -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
index 3c5db46..d0e575e 100644 (file)
@@ -1664,7 +1664,7 @@ EOF
 EOF
 
        ;;
-  mips-*-openbsd*)
+  mips*-*-openbsd*)
        COREFILE=netbsd-core.o
        ;;
   mips-dec-bsd*)
@@ -1680,9 +1680,6 @@ EOF
 #define TRAD_HEADER "hosts/mipsmach3.h"
 EOF
 
-       ;;
-  mips-*-netbsd*)
-       COREFILE=netbsd-core.o
        ;;
   mips-*-openbsd*)
        COREFILE=netbsd-core.o
index 5ef19b5..5ba0ad6 100644 (file)
@@ -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}