Enable shared lib tests for frv, lm32, m32r, microblaze, nds32 and or1k

Nick Clifton nickc@redhat.com
Wed Dec 6 10:04:00 GMT 2017


Hi Alan,

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

> -	 && ![istarget lm32-*-*]
> +	 && ![istarget lm32-*-elf]

This introduced a whole slew of new failures when I tested a lm32-rtems4.10 
toolchain so I have checked in a little fix for this target:

Cheers
  Nick

ld/ChangeLog
2017-12-06  Nick Clifton  <nickc@redhat.com>

	* testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
	false for lm32-rtems targets.

diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp
index ecac87f766..280a7b1e97 100644
--- a/ld/testsuite/lib/ld-lib.exp
+++ b/ld/testsuite/lib/ld-lib.exp
@@ -1805,6 +1805,7 @@ proc check_shared_lib_support { } {
         && ![istarget ip2k-*-*]
         && ![istarget iq2000-*-*]
         && ![istarget lm32-*-elf]
+        && ![istarget lm32-*-rtems*]
         && ![istarget m32c-*-*]
         && ![istarget m32r-*-elf]
         && ![istarget m6811-*-*]



More information about the Binutils mailing list