From: Alan Modra Date: Tue, 12 Nov 2024 06:13:58 +0000 (+1030) Subject: Re: ld: Move note sections after .rodata section X-Git-Tag: gdb-16-branchpoint~458 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a3741bc6c7018f5c7a5093eabdb7473d19ea6630;p=thirdparty%2Fbinutils-gdb.git Re: ld: Move note sections after .rodata section Fix csky-linux-gnu FAIL of ld-elf/pr32341, due to that target having its own .bss directive. PR ld/32341 * testsuite/ld-elf/pr32341.s: Don't use .bss directive. Specify progbits/nobits on all .section directives. --- diff --git a/ld/testsuite/ld-elf/pr32341.s b/ld/testsuite/ld-elf/pr32341.s index 11f31b7771a..c601801a476 100644 --- a/ld/testsuite/ld-elf/pr32341.s +++ b/ld/testsuite/ld-elf/pr32341.s @@ -15,11 +15,11 @@ main: .global _main _main: .dc.a 0 - .section .rodata,"a" + .section .rodata,"a",%progbits .zero 8 - .bss + .section .bss,"aw",%nobits .zero 8 - .section .note.ABI-tag,"a" + .section .note.ABI-tag,"a",%progbits .align 4 .zero 32 .ident "GCC: (GNU) 14.2.1"