From: Tom de Vries Date: Fri, 16 Jun 2023 10:56:32 +0000 (+0200) Subject: [gdb/testsuite] Use %progbits in gdb.arch/thumb*.S X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9fb38608660d25f368b458a17e5f013271da7d4a;p=binutils-gdb.git [gdb/testsuite] Use %progbits in gdb.arch/thumb*.S In commit 0f2cd53cf4f ("[gdb/testsuite] Handle missing .note.GNU-stack") I updated a gdb.arch/arm*.S test-case to use %progbits rather than @progbits, but failed to do so for gdb.arch/thumb*.S. Fix this oversight. Tested on arm-linux-gnueabihf. --- diff --git a/gdb/testsuite/gdb.arch/thumb-bx-pc.S b/gdb/testsuite/gdb.arch/thumb-bx-pc.S index 1fe9a909ea8..cece56c9a43 100644 --- a/gdb/testsuite/gdb.arch/thumb-bx-pc.S +++ b/gdb/testsuite/gdb.arch/thumb-bx-pc.S @@ -32,4 +32,4 @@ main: mov r0, #0 bx lr .size main, .-main - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/gdb/testsuite/gdb.arch/thumb-singlestep.S b/gdb/testsuite/gdb.arch/thumb-singlestep.S index fef79b746a4..1e9c19fc88d 100644 --- a/gdb/testsuite/gdb.arch/thumb-singlestep.S +++ b/gdb/testsuite/gdb.arch/thumb-singlestep.S @@ -38,4 +38,4 @@ main: pop {r3, pc} .size main, .-main - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits diff --git a/gdb/testsuite/gdb.arch/thumb2-it.S b/gdb/testsuite/gdb.arch/thumb2-it.S index 233e1adfe9b..99b1bfa07f0 100644 --- a/gdb/testsuite/gdb.arch/thumb2-it.S +++ b/gdb/testsuite/gdb.arch/thumb2-it.S @@ -180,4 +180,4 @@ it_breakpoints: bx lr #endif /* __thumb2__ */ - .section .note.GNU-stack,"",@progbits + .section .note.GNU-stack,"",%progbits