Check for shared lib support before running ld tests with -shared
authorAlan Modra <amodra@gmail.com>
Tue, 3 Jan 2017 22:55:54 +0000 (09:25 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 3 Jan 2017 23:09:12 +0000 (09:39 +1030)
commit47523653a331d0a04470701338a6ed269cc758f4
tree9900d305048181b9234f7d4442baa9ab0fefc4e4
parentae4fda663812129df67e3a70691787060242c0f9
Check for shared lib support before running ld tests with -shared

Another fix now that we run these tests non-native.

* testsuite/ld-elf/audit.exp: Check for shared lib support.
* testsuite/ld-elf/compress.exp: Likewise.
* testsuite/ld-elf/dwarf.exp: Likewise.
* testsuite/ld-elf/shared.exp: Likewise.
* testsuite/ld-elf/wrap.exp: Likewise.
* testsuite/ld-ifunc/ifunc.exp: Likewise.
* testsuite/ld-plugin/lto.exp: Check $CXX exists.
ld/ChangeLog
ld/testsuite/ld-elf/audit.exp
ld/testsuite/ld-elf/compress.exp
ld/testsuite/ld-elf/dwarf.exp
ld/testsuite/ld-elf/shared.exp
ld/testsuite/ld-elf/wrap.exp
ld/testsuite/ld-ifunc/ifunc.exp
ld/testsuite/ld-plugin/lto.exp