This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA] Update OpenBSD/mips64 support
Date: Thu, 14 Apr 2005 00:55:17 +0200
From: Thiemo Seufer <ths@networkno.de>
> Is mips-dec-openbsd* mentioned above it obsolete? I figure that's the
> pmax port you mentioned above.
>
> Suppose so. The current config.guess won't produce that triplet. And
> specifying that target by hand won't work either since that results in
> an attempt to build an ELF gas with a BFD that only supports ECOFF.
>
> I'll happily remove that config.
Please do so.
Thanks,
The attached patch is what I committed.
Mark
Index: ChangeLog
from 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.
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 14 Apr 2005 16:53:18 -0000
@@ -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 ;;
Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.177
diff -u -p -r1.177 configure.in
--- configure.in 14 Apr 2005 05:26:31 -0000 1.177
+++ configure.in 14 Apr 2005 16:53:19 -0000
@@ -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
;;