* OpenBSD/i386 ELF gas support
@ 2005-04-11 19:02 Mark Kettenis
2005-04-11 22:28 ` Alan Modra
0 siblings, 1 reply; 2+ messages in thread
From: Mark Kettenis @ 2005-04-11 19:02 UTC (permalink / raw)
To: binutils
The attached patch adds support to gas for OpenBSD/i386 3.3 and later,
which are ELF instead of a.out. There's only one FAIL in the
testsuite on my i386-unknown-openbsd3.7 system, and that one is due to
a spurious match in the fastcall test. I'll submit a patch for that
seperately.
OK?
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gas/configure.tgt,v
retrieving revision 1.6
diff -u -p -r1.6 configure.tgt
--- configure.tgt 23 Mar 2005 15:35:46 -0000 1.6
+++ configure.tgt 11 Apr 2005 18:58:09 -0000
@@ -182,11 +182,14 @@ case ${generic_target} in
i386-*-netbsd*-gnu* | \
i386-*-knetbsd*-gnu | \
i386-*-netbsdelf*) fmt=elf em=nbsd ;;
- i386-*-*n*bsd*)
+ i386-*-netbsd*)
case ${cpu} in
x86_64) fmt=elf em=nbsd ;;
*) fmt=aout em=nbsd ;;
esac ;;
+ i386-*-openbsd[0-2].* | \
+ i386-*-openbsd3.[0-2]) fmt=aout em=nbsd ;;
+ i386-*-openbsd*) fmt=elf em=nbsd ;;
i386-*-linux*aout*) fmt=aout em=linux ;;
i386-*-linux*oldld) fmt=aout em=linux ;;
i386-*-linux*coff*) fmt=coff em=linux ;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OpenBSD/i386 ELF gas support
2005-04-11 19:02 OpenBSD/i386 ELF gas support Mark Kettenis
@ 2005-04-11 22:28 ` Alan Modra
0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2005-04-11 22:28 UTC (permalink / raw)
To: Mark Kettenis; +Cc: binutils
On Mon, Apr 11, 2005 at 09:02:33PM +0200, Mark Kettenis wrote:
> * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
OK. I don't think anyone would complain if you committed this sort of
patch under the obvious rule.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-04-11 22:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-11 19:02 OpenBSD/i386 ELF gas support Mark Kettenis
2005-04-11 22:28 ` Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).