aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/dw2-icycle.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-icycle.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-icycle.S')
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-icycle.S12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-icycle.S b/gdb/testsuite/gdb.dwarf2/dw2-icycle.S
index 8856eb6..e432f62 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-icycle.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-icycle.S
@@ -18,7 +18,11 @@
.text
.Ltext0:
+#ifdef __arm__
+ .type p__top__middle__inside.3062, %function
+#else
.type p__top__middle__inside.3062, @function
+#endif
p__top__middle__inside.3062:
.LFB4:
.file 1 "p.adb"
@@ -26,7 +30,11 @@ p__top__middle__inside.3062:
.LBE6:
.globl p__top
+#ifdef __arm__
+ .type p__top, %function
+#else
.type p__top, @function
+#endif
p__top:
.LFB2:
.4byte 0
@@ -246,4 +254,8 @@ p__top:
.Lline1_begin:
.byte 0
+#ifdef __arm__
+ .section .note.GNU-stack,"",%progbits
+#else
.section .note.GNU-stack,"",@progbits
+#endif