diff options
author | Alan Modra <amodra@gmail.com> | 2024-11-12 16:43:58 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-11-12 17:06:35 +1030 |
commit | a3741bc6c7018f5c7a5093eabdb7473d19ea6630 (patch) | |
tree | 64abe803ec7b44502ed5043cd2291229c72d116f | |
parent | e0323071916878e0634a6e24d8250e4faff67e88 (diff) | |
download | binutils-a3741bc6c7018f5c7a5093eabdb7473d19ea6630.zip binutils-a3741bc6c7018f5c7a5093eabdb7473d19ea6630.tar.gz binutils-a3741bc6c7018f5c7a5093eabdb7473d19ea6630.tar.bz2 |
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.
-rw-r--r-- | ld/testsuite/ld-elf/pr32341.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elf/pr32341.s b/ld/testsuite/ld-elf/pr32341.s index 11f31b7..c601801 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" |