]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: Update PR ld/25237 test
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Mar 2025 11:08:49 +0000 (19:08 +0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 5 Mar 2025 22:59:55 +0000 (06:59 +0800)
commit5ccf7a5512db87a8459b90ce2bb25a6aad50cb72
treece4e32f4b134c5d7316dcd9f9fa34d359bb551fc
parent18b66eb58729a0eb61ff46f32bf4127d28b800aa
ld: Update PR ld/25237 test

1. Skip targets which don't support the .bss section alignment, 1 << 16.
2. Replace .bss with ".section .bss".
3. Use ".zero 0xb60000" for targets which pad the section to its alignment.

PR ld/25237
* testsuite/ld-elf/pr25237.d: Skip avr-*-* and h8300-*-*.
Update expected segment size to 0xb60000.
* testsuite/ld-elf/pr25237.s: Use ".section .bss" and
".zero 0xb60000".

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
ld/testsuite/ld-elf/pr25237.d
ld/testsuite/ld-elf/pr25237.s