[binutils-gdb] ld: replace another @progbits etc in an ELF testcase

Jan Beulich jbeulich@sourceware.org
Wed Jan 22 08:52:20 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=196fda592e66405ee423701943ca12dd1a996130

commit 196fda592e66405ee423701943ca12dd1a996130
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Jan 22 09:51:00 2025 +0100

    ld: replace another @progbits etc in an ELF testcase
    
    The canonical form (in the testsuite) is %progbits and alike.

Diff:
---
 ld/testsuite/ld-elf/merge4b.s | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ld/testsuite/ld-elf/merge4b.s b/ld/testsuite/ld-elf/merge4b.s
index 03cfaaabcec..345cdd05966 100644
--- a/ld/testsuite/ld-elf/merge4b.s
+++ b/ld/testsuite/ld-elf/merge4b.s
@@ -1,5 +1,5 @@
 /* Check that pointing into padding zeros of string sections works. */
-	.section	.rodata.str1.1,"aMS",@progbits,1
+	.section	.rodata.str1.1,"aMS",%progbits,1
 	.asciz ""
 .LC0:
 	.asciz	"foobar"
@@ -8,16 +8,16 @@
 	.asciz "whatever"
 	.section .data
 	.globl addr_of_str
-	.type addr_of_str, @object
+	.type addr_of_str, %object
 addr_of_str:
 	.dc.a str
 	.globl addr_of_str2
-	.type addr_of_str2, @object
+	.type addr_of_str2, %object
 addr_of_str2:
 	.dc.a 1b
 	.section	.rodata
-	.type	str, @object
+	.type	str, %object
 	.size	str, 7
 str:
 	.asciz	"foobar"
-	.section	.note.GNU-stack,"",@progbits
+	.section	.note.GNU-stack,"",%progbits


More information about the Binutils-cvs mailing list