aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog7
-rwxr-xr-xgas/configure3
-rw-r--r--gas/configure.in3
-rw-r--r--gas/configure.tgt3
4 files changed, 14 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1ea7d3d..d39156b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/configure b/gas/configure
index c546914..cce042b 100755
--- a/gas/configure
+++ b/gas/configure
@@ -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
;;
diff --git a/gas/configure.in b/gas/configure.in
index e9deeaf..bdfa0f4 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -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
;;
diff --git a/gas/configure.tgt b/gas/configure.tgt
index fec36f7..77c2938 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -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 ;;