aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-22 20:27:41 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-22 20:27:41 +0000
commitd9943e50f80c0cf5920068294ee8f78079cf6709 (patch)
tree5cddc9518fcad4d0f8d83252e72268af3c2a5017 /gas/testsuite/lib
parentbb6a587dd383a443ab1b78669870f33cfbc117a2 (diff)
downloadgdb-d9943e50f80c0cf5920068294ee8f78079cf6709.zip
gdb-d9943e50f80c0cf5920068294ee8f78079cf6709.tar.gz
gdb-d9943e50f80c0cf5920068294ee8f78079cf6709.tar.bz2
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
Diffstat (limited to 'gas/testsuite/lib')
-rw-r--r--gas/testsuite/lib/gas-defs.exp13
1 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp
index fec2778..f0c6b8c 100644
--- a/gas/testsuite/lib/gas-defs.exp
+++ b/gas/testsuite/lib/gas-defs.exp
@@ -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
}