public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] [gdb/testsuite] Use %progbits in gdb.arch/thumb*.S
@ 2023-06-16 10:56 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-06-16 10:56 UTC (permalink / raw)
  To: gdb-patches

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

base-commit: d2fddb6d783320726328707d53aa74e3c48616ef
-- 
2.35.3


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-16 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-16 10:56 [pushed] [gdb/testsuite] Use %progbits in gdb.arch/thumb*.S Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).