[PATCH,V1 06/14] bfd: linker: merge .sframe sections
Nick Clifton
nickc@redhat.com
Fri Sep 30 10:51:42 GMT 2022
Hi Indu,
> ld/testsuite/ChangeLog:
>
> * ld/testsuite/ld-aarch64/aarch64-elf.exp: Add new test
> sframe-simple-1.
> * ld/testsuite/ld-aarch64/sframe-bar.s: New file.
> * ld/testsuite/ld-aarch64/sframe-foo.s: Likewise.
> * ld/testsuite/ld-aarch64/sframe-simple-1.d: Likewise.
> * ld/testsuite/ld-sframe/sframe-empty.d: New test.
> * ld/testsuite/ld-sframe/sframe-empty.s: New file.
> * ld/testsuite/ld-sframe/sframe.exp: New testsuite.
Unfortunately I have found one way to make this new test fail:
Executing on host: sh -c {./ld-new -z norelro -L/work/sources/binutils/upstream/current/ld/testsuite/ld-aarch64 -shared -o tmpdir/dump tmpdir/sframe-foo.o
tmpdir/sframe-bar.o 2>&1} /dev/null dump.tmp (timeout = 300)
spawn [open ...]
succeeded with: </work/sources/binutils/upstream/current/ld/testsuite/ld-aarch64/sframe-bar.s: Assembler messages:
/work/sources/binutils/upstream/current/ld/testsuite/ld-aarch64/sframe-bar.s: Warning: .sframe not supported for target>, no expected output
FAIL: Simple link
The cause was the fact that I was using a big-endian, 32-bit AArch64 toolchain.
Ie one configured as --target=aarch64_be-linux-gnu_ilp32 Not your typical
configuration, but a valid one nonetheless.
Cheers
Nick
More information about the Binutils
mailing list