MIPS/LD/testsuite: Correct dynamic links with VR4100, VR4300 and VR5000
authorMaciej W. Rozycki <macro@mips.com>
Wed, 31 Jan 2018 14:47:12 +0000 (14:47 +0000)
committerMaciej W. Rozycki <macro@mips.com>
Wed, 31 Jan 2018 14:47:12 +0000 (14:47 +0000)
commit8988502d75343349cee39575c0e4a0b33f7c80e0
treea5ed05a601c9c3c79dc2e006912beda909693490
parentf3a9baf18db14707276a8c911d4a6409ad965926
MIPS/LD/testsuite: Correct dynamic links with VR4100, VR4300 and VR5000

Correct LD test suite failures with VR4100, VR4300 and VR5000 bare metal
MIPS/ELF targets which do not default to linking with shared libraries,
which leads to link failures like:

.../ld/ld-new: cannot find -lcomm-data
FAIL: Common symbol override test

or:

.../ld/ld-new: attempted static link of dynamic object `tmpdir/pr14170.so'
FAIL: PR ld/14170

removing:

FAIL: Build pr22471b.so
FAIL: Build pr22471
FAIL: Build pr22649-2b.so
FAIL: Build pr22649-2d.so
FAIL: Build pr22150
FAIL: PR ld/14170
FAIL: --gc-sections with __gxx_personality

test failures.

ld/
* testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
involving a shared library for `mips*vr4100*-*-elf*',
`mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
* testsuite/ld-elf/provide-hidden.exp: Likewise.
* testsuite/ld-elf/shared.exp: Likewise.
* testsuite/ld-gc/gc.exp: Likewise.
* testsuite/ld-mips-elf/comm-data.exp: Likewise.
ld/ChangeLog
ld/testsuite/ld-elf/comm-data.exp
ld/testsuite/ld-elf/provide-hidden.exp
ld/testsuite/ld-elf/shared.exp
ld/testsuite/ld-gc/gc.exp
ld/testsuite/ld-mips-elf/comm-data.exp