PowerPC32 ld test fails with --enable-targets=all
authorAlan Modra <amodra@gmail.com>
Tue, 26 Jul 2022 12:31:39 +0000 (22:01 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 26 Jul 2022 12:44:20 +0000 (22:14 +0930)
commitc138af95731c630a78329fd86076992f82099957
tree51eeb867488e35951f0ded7d0e4a30921c893373
parente01493b7cb86ef874afb42efb1720ab1fbedfb6f
PowerPC32 ld test fails with --enable-targets=all

Three pppc32 ld tests fail when spe support is included in the linker
due to this snippet in ld/emulparams/elf32ppc.sh.

if grep -q 'ld_elf32_spu_emulation' ldemul-list.h; then
  DATA_START_SYMBOLS="${RELOCATING+*crt1.o(.data .data.* .gnu.linkonce.d.*)
    PROVIDE (__spe_handle = .);
    *(.data.spehandle)
    . += 4 * (DEFINED (__spe_handle) || . != 0);}"
fi

* testsuite/ld-powerpc/tlsexe32.r: Pass with .data section present.
* testsuite/ld-powerpc/tlsexe32no.r: Likewise.
* testsuite/ld-powerpc/tlsso32.r: Likewise.
ld/testsuite/ld-powerpc/tlsexe32.r
ld/testsuite/ld-powerpc/tlsexe32no.r
ld/testsuite/ld-powerpc/tlsso32.r