[gdb/testsuite] Use %progbits in gdb.arch/thumb*.S
authorTom de Vries <tdevries@suse.de>
Fri, 16 Jun 2023 10:56:32 +0000 (12:56 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 16 Jun 2023 10:56:32 +0000 (12:56 +0200)
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
gdb/testsuite/gdb.arch/thumb-singlestep.S
gdb/testsuite/gdb.arch/thumb2-it.S

index 1fe9a909ea825e0ec2e615659c8e9837cd538f9f..cece56c9a436b0296983f75b5ce8690cd03559ef 100644 (file)
@@ -32,4 +32,4 @@ main:
        mov     r0, #0
        bx      lr
        .size   main, .-main
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index fef79b746a4a1c8aa294566312fb9841b7e61075..1e9c19fc88d29590392700d0a0d5be86cf9777b8 100644 (file)
@@ -38,4 +38,4 @@ main:
         pop    {r3, pc}
        .size   main, .-main
 
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits
index 233e1adfe9b7e8c51575dcdf5653c35807022567..99b1bfa07f0a9d0bb82afa2d21ea561598ce0f11 100644 (file)
@@ -180,4 +180,4 @@ it_breakpoints:
        bx      lr
 
 #endif /* __thumb2__ */
-       .section        .note.GNU-stack,"",@progbits
+       .section        .note.GNU-stack,"",%progbits