aboutsummaryrefslogtreecommitdiff
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
parentbb6a587dd383a443ab1b78669870f33cfbc117a2 (diff)
downloadgdb-d9943e50f80c0cf5920068294ee8f78079cf6709.zip
gdb-d9943e50f80c0cf5920068294ee8f78079cf6709.tar.gz
gdb-d9943e50f80c0cf5920068294ee8f78079cf6709.tar.bz2
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/lib/gas-defs.exp13
2 files changed, 17 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 68a45dd..da75cc2 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-22 Mark Kettenis <kettenis@gnu.org>
+
+ * lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
+
2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
* gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot.
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
}