mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 14:04:24 +08:00
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
*-*-openbsd*. * gdb.asm/openbsd.inc: New file.
This commit is contained in:
parent
f7f58dbed2
commit
53904d1e5f
@ -1,3 +1,9 @@
|
|||||||
|
2004-01-31 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
|
* gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
|
||||||
|
*-*-openbsd*.
|
||||||
|
* gdb.asm/openbsd.inc: New file.
|
||||||
|
|
||||||
2004-01-30 Mark Kettenis <kettenis@gnu.org>
|
2004-01-30 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
|
* gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
|
||||||
|
@ -124,6 +124,13 @@ if { [istarget "*-*-netbsdelf*"]
|
|||||||
set asm-note "netbsd"
|
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
|
# Watch out, we are invoking the assembler, but the testsuite sets multilib
|
||||||
# switches according to compiler syntax. If we pass these options straight
|
# 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
|
# to the assembler, they won't always make sense. If we don't pass them to
|
||||||
|
12
gdb/testsuite/gdb.asm/openbsd.inc
Normal file
12
gdb/testsuite/gdb.asm/openbsd.inc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
comment "openbsd .note"
|
||||||
|
|
||||||
|
.section ".note.openbsdbsd.ident", "a"
|
||||||
|
.p2align 2
|
||||||
|
|
||||||
|
.long 8
|
||||||
|
.long 4
|
||||||
|
.long 1
|
||||||
|
.ascii "OpenBSD\0\0"
|
||||||
|
.long 200311
|
||||||
|
|
||||||
|
.p2align 2
|
Loading…
Reference in New Issue
Block a user