This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[RFA] Update OpenBSD/mips64 support
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: binutils at sourceware dot org
- Date: Thu, 14 Apr 2005 00:13:51 +0200 (CEST)
- Subject: [RFA] Update OpenBSD/mips64 support
This makes gas work for the new 64-bit OpenBSD/sgi aka OpenBSD/mips64.
It's fairly obvious, except for the fact that it replaces an older
32-bit OpenBSD/mips config. I don't think it's worth retaining that
config since the members of that family have been discontinued with
OpenBSD/arc 2.3 and OpenBSD/pmax 2.7. The latter was released over 5
years ago.
Ok?
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.tgt: Set emulation for mips-*-openbsd*.
* configure.in: Set default ABI for mips64-*-openbsd*.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.176
diff -u -p -r1.176 configure.in
--- configure.in 6 Apr 2005 15:42:14 -0000 1.176
+++ configure.in 13 Apr 2005 22:07:41 -0000
@@ -281,6 +281,9 @@ changequote([,])dnl
mips*-linux*)
mips_default_abi=O32_ABI
;;
+ mips64*-openbsd*)
+ mips_default_abi=N64_ABI
+ ;;
*)
mips_default_abi=NO_ABI
;;
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gas/configure.tgt,v
retrieving revision 1.7
diff -u -p -r1.7 configure.tgt
--- configure.tgt 11 Apr 2005 22:31:37 -0000 1.7
+++ configure.tgt 13 Apr 2005 22:07:41 -0000
@@ -300,7 +300,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 ;;