diff options
author | Tom de Vries <tdevries@suse.de> | 2023-11-24 15:41:22 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-11-24 15:41:22 +0100 |
commit | a2ee3a8fffceb52f0736a7ad84980907a0907d5a (patch) | |
tree | 7da30bea7cee3702ffc5d7deecdcda2030519b94 /gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S | |
parent | 15717656549b6af941511dde20a51475c932645e (diff) | |
download | gdb-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-compdir-oldgcc.S')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S b/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S index 8a8ecfc..4d62681 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-compdir-oldgcc.S @@ -239,4 +239,8 @@ gcc43: .globl gcc43 .uleb128 1 .byte 1 .Lgcc43_end: +#ifdef __arm__ + .section .note.GNU-stack,"",%progbits +#else .section .note.GNU-stack,"",@progbits +#endif |