[PATCH] ld: Update PR ld/25237 test

H.J. Lu hjl.tools@gmail.com
Wed Mar 5 11:23:13 GMT 2025


On Wed, Mar 5, 2025 at 12:55 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Wed, Mar 5, 2025 at 12:00 PM H.J. Lu <hjl.tools@gmail.com> wrote:
> >
> > PR ld/25237
> > * testsuite/ld-elf/pr25237.d: New file.
> > * testsuite/ld-elf/pr25237.s: Likewise.
> >
> > --
> > H.J.
>
> I am checking it in.
>

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".



-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-Update-PR-ld-25237-test.patch
Type: text/x-patch
Size: 1733 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250305/a8eea2ae/attachment.bin>


More information about the Binutils mailing list