Enable shared lib tests for frv, lm32, m32r, microblaze, nds32 and or1k
authorAlan Modra <amodra@gmail.com>
Tue, 5 Dec 2017 22:34:48 +0000 (09:04 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Dec 2017 03:51:45 +0000 (14:21 +1030)
These claim to support shared libs when configuring for <target>-linux
(in contrast to <target>-elf which doesn't support shared libs).

* testsuite/lib/ld-lib.exp (check_shared_lib_support): Return true
for frv, lm32, m32r, microblaze, nds32 and or1k linux targets.

ld/ChangeLog
ld/testsuite/lib/ld-lib.exp

index 179d229ccf1e9aafc3c9db13f62409bf4d55eaf0..c5f148696973ffdd2ca85bd0f41a8e8dbee83d80 100644 (file)
@@ -1,3 +1,8 @@
+2017-12-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return true
+       for frv, lm32, m32r, microblaze, nds32 and or1k linux targets.
+
 2017-12-05  Jim Wilson  <jimw@sifive.com>
            Andrew Waterman  <andrew@sifive.com>
 
index c240410270316bf0af368719b2b9665d6fcb2c43..ecac87f76642473b9e07976dda7d4cf48d93119d 100644 (file)
@@ -1797,30 +1797,30 @@ proc check_shared_lib_support { } {
         && ![istarget dlx-*-*]
         && ![istarget epiphany-*-*]
         && ![istarget fr30-*-*]
-        && ![istarget frv-*-*]
+        && ![istarget frv-*-elf]
         && ![istarget ft32-*-*]
         && ![istarget h8300-*-*]
         && ![istarget i860-*-*]
         && ![istarget i960-*-*]
         && ![istarget ip2k-*-*]
         && ![istarget iq2000-*-*]
-        && ![istarget lm32-*-*]
+        && ![istarget lm32-*-elf]
         && ![istarget m32c-*-*]
-        && ![istarget m32r-*-*]
+        && ![istarget m32r-*-elf]
         && ![istarget m6811-*-*]
         && ![istarget m6812-*-*]
         && ![istarget m68hc1*-*-*]
         && ![istarget mcore*-*-*]
         && ![istarget mep-*-*]
-        && ![istarget microblaze-*-*]
+        && ![istarget microblaze-*-elf]
         && ![istarget mips*-*-elf]
         && ![istarget mn10200-*-*]
         && ![istarget moxie-*-*]
         && ![istarget msp430-*-*]
         && ![istarget mt-*-*]
-        && ![istarget nds32*-*-*]
+        && ![istarget nds32*-*-elf]
         && ![istarget nios2-*-elf]
-        && ![istarget or1k*-*-*]
+        && ![istarget or1k*-*-elf]
         && ![istarget pj-*-*]
         && ![istarget pru-*-*]
         && ![istarget rl78-*-*]