From 9fb38608660d25f368b458a17e5f013271da7d4a Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Fri, 16 Jun 2023 12:56:32 +0200 Subject: [PATCH] [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. --- gdb/testsuite/gdb.arch/thumb-bx-pc.S | 2 +- gdb/testsuite/gdb.arch/thumb-singlestep.S | 2 +- gdb/testsuite/gdb.arch/thumb2-it.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2