aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-11-24 15:41:22 +0100
committerTom de Vries <tdevries@suse.de>2023-11-24 15:41:22 +0100
commita2ee3a8fffceb52f0736a7ad84980907a0907d5a (patch)
tree7da30bea7cee3702ffc5d7deecdcda2030519b94 /gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
parent15717656549b6af941511dde20a51475c932645e (diff)
downloadgdb-a2ee3a8fffceb52f0736a7ad84980907a0907d5a.zip
gdb-a2ee3a8fffceb52f0736a7ad84980907a0907d5a.tar.gz
gdb-a2ee3a8fffceb52f0736a7ad84980907a0907d5a.tar.bz2
[gdb/testsuite] Use more %progbits for arm
On pinebook I ran into: ... Running gdb.tui/tui-layout-asm-short-prog.exp ... gdb compile failed, gdb.tui/tui-layout-asm-short-prog.S: Assembler messages: gdb.tui/tui-layout-asm-short-prog.S:23: Error: \ junk at end of line, first unrecognized character is `,' ... Fix this by using %progbits instead of @progbits for arm. Approved-by: Luis Machado <luis.machado@arm.com> Tested on x86_64-linux and pinebook.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S b/gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
index 59dd26c..2ff445e 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S
@@ -149,4 +149,8 @@ LELTP:
.uleb128 0x1
.byte 0x1
LELT:
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif