This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFA] Update OpenBSD GAS testsuite support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: binutils at sources dot redhat dot com
- Date: Sun, 11 Apr 2004 15:23:38 +0200 (CEST)
- Subject: [PATCH/RFA] Update OpenBSD GAS testsuite support
This makes is_elf_format return the right thing on various OpenBSD
platforms.
OK for mainline?
Mark
Index: testsuite/ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
Index: testsuite/lib/gas-defs.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/lib/gas-defs.exp,v
retrieving revision 1.16
diff -u -p -r1.16 gas-defs.exp
--- testsuite/lib/gas-defs.exp 6 Jan 2004 19:19:05 -0000 1.16
+++ testsuite/lib/gas-defs.exp 11 Apr 2004 13:19:33 -0000
@@ -197,6 +197,7 @@ proc is_elf_format {} {
&& ![istarget *-*-irix5*] \
&& ![istarget *-*-irix6*] \
&& ![istarget *-*-netbsd*] \
+ && ![istarget *-*-openbsd*] \
&& ![istarget *-*-solaris2*] } {
return 0
}
@@ -217,6 +218,18 @@ proc is_elf_format {} {
|| [istarget ns32k-*-netbsd*]) } {
return 0
}
+
+ if { [istarget arm-*-openbsd*] \
+ || [istarget i386-*-openbsd\[0-2\].*] \
+ || [istarget i386-*-openbsd3.\[0-3\]] \
+ || [istarget m68*-*-openbsd*] \
+ || [istarget ns32k-*-openbsd*] \
+ || [istarget sparc-*-openbsd\[0-2\].*] \
+ || [istarget sparc-*-openbsd3.\[0-1\]] \
+ || [istarget vax-*-openbsd*] } {
+ return 0
+ }
+
return 1
}