Re: ld/testsuite: adjust ld-arm to run shared tests only when supported
authorAlan Modra <amodra@gmail.com>
Thu, 27 Oct 2022 00:15:18 +0000 (10:45 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Oct 2022 01:22:05 +0000 (11:52 +1030)
commit1ad40414e3acfa6a96c3e76226aa670cedef902c
treefd4e788a0974cf0fa52b854f9d9c5b1e328d1b88
parentecb58b32cdeb9789f9bc7c2037cb001d9a729f83
Re: ld/testsuite: adjust ld-arm to run shared tests only when supported

commit 67527cffcd enabled previously disabled tests unresolved-1-dyn,
thumb-plt and thumb-plt-got for nacl.  The first fails due to trying
to link against mixed-lib.so which isn't compiled for nacl.  The last
two fail with
objdump: tmpdir/dump(.rel.plt): relocation 0 has invalid symbol index 14885104
and
readelf: Error:  bad symbol index: 00e320f0 in reloc

Relocation section '.rel.plt' at offset 0x128 contains 1 entry:
 Offset     Info    Type                Sym. Value  Symbol's Name
e320f000  e320f000 R_ARM_NONE

* testsuite/ld-arm/arm-elf.exp: Disable unresolved-1-dyn,
thumb-plt and thumb-plt-got for nacl.
ld/testsuite/ld-arm/arm-elf.exp