* configure.tgt: Set emulation for mips-*-openbsd*.
authorMark Kettenis <kettenis@gnu.org>
Thu, 14 Apr 2005 16:55:49 +0000 (16:55 +0000)
committerMark Kettenis <kettenis@gnu.org>
Thu, 14 Apr 2005 16:55:49 +0000 (16:55 +0000)
Remove broken mips-dec-openbsd* config.
* configure.in: Set default ABI for mips64-*-openbsd*.
* configure: Regenerate.

gas/ChangeLog
gas/configure
gas/configure.in
gas/configure.tgt

index 1ea7d3d..d39156b 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt: Set emulation for mips-*-openbsd*.
+       Remove broken mips-dec-openbsd* config.
+       * configure.in: Set default ABI for mips64-*-openbsd*.
+       * configure: Regenerate.
+
 2005-04-14  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
index c546914..cce042b 100755 (executable)
@@ -4605,6 +4605,9 @@ echo "$as_me: error: $target_cpu isn't a supported MIPS CPU name" >&2;}
          mips*-linux*)
            mips_default_abi=O32_ABI
            ;;
+         mips64*-openbsd*)
+           mips_default_abi=N64_ABI
+           ;;
          *)
            mips_default_abi=NO_ABI
            ;;
index e9deeaf..bdfa0f4 100644 (file)
@@ -246,6 +246,9 @@ changequote([,])dnl
          mips*-linux*)
            mips_default_abi=O32_ABI
            ;;
+         mips64*-openbsd*)
+           mips_default_abi=N64_ABI
+           ;;
          *)
            mips_default_abi=NO_ABI
            ;;
index fec36f7..77c2938 100644 (file)
@@ -284,7 +284,6 @@ case ${generic_target} in
   mcore-*-pe)                          fmt=coff em=pe bfd_gas=yes ;;
 
   # don't change em like *-*-bsd does
-  mips-dec-openbsd*)                   fmt=elf endian=little ;;
   mips-sony-bsd*)                      fmt=ecoff ;;
   mips-*-ultrix*)                      fmt=ecoff endian=little ;;
   mips-*-osf*)                         fmt=ecoff endian=little ;;
@@ -300,7 +299,7 @@ case ${generic_target} in
   mips-*-sysv*)                                fmt=ecoff ;;
   mips-*-elf* | mips-*-rtems*)         fmt=elf ;;
   mips-*-netbsd*)                      fmt=elf ;;
-  mips-*-openbsd*)                     fmt=elf ;;
+  mips-*-openbsd*)                     fmt=elf em=tmips ;;
 
   mmix-*-*)                            fmt=elf ;;