diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-01-31 14:32:24 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-01-31 14:32:24 +0000 |
commit | 53904d1e5f3bd49eb1c0a8cd11db85c702f69e6c (patch) | |
tree | 095b8421e606351327b14f44da4f1a6823197a4a /gdb/testsuite/gdb.asm/asm-source.exp | |
parent | f7f58dbed2321ff1c42e9de614823af25897ba68 (diff) | |
download | gdb-53904d1e5f3bd49eb1c0a8cd11db85c702f69e6c.zip gdb-53904d1e5f3bd49eb1c0a8cd11db85c702f69e6c.tar.gz gdb-53904d1e5f3bd49eb1c0a8cd11db85c702f69e6c.tar.bz2 |
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
*-*-openbsd*.
* gdb.asm/openbsd.inc: New file.
Diffstat (limited to 'gdb/testsuite/gdb.asm/asm-source.exp')
-rw-r--r-- | gdb/testsuite/gdb.asm/asm-source.exp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp index 411d13d..75e64b4 100644 --- a/gdb/testsuite/gdb.asm/asm-source.exp +++ b/gdb/testsuite/gdb.asm/asm-source.exp @@ -124,6 +124,13 @@ if { [istarget "*-*-netbsdelf*"] set asm-note "netbsd" } +# On OpenBSD/ELF we need a similar note section. We make no attempt +# of handing a.out here since most OpenBSD/a.out systems use a rather +# outdated assembler that doesn't assemble this test's code anyway. +if { [istarget "*-*-openbsd*"] } then { + set asm-note "openbsd" +} + # Watch out, we are invoking the assembler, but the testsuite sets multilib # switches according to compiler syntax. If we pass these options straight # to the assembler, they won't always make sense. If we don't pass them to |