This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Committed: adjust ld-lib.exp:check_shared_lib_support to not disallow all cris*-*-*
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Tue, 30 Apr 2013 19:20:23 +0200
- Subject: Committed: adjust ld-lib.exp:check_shared_lib_support to not disallow all cris*-*-*
Spotted by chance some time ago, spotted again recently.
Maybe better to allow cris*-*-linux* rather than disallow
e.g. cris*-*-elf but I'll follow the existing idiom.
Testsuite still passes for cris-elf and cris-linux, committed.
ld/testsuite:
* lib/ld-lib.exp (check_shared_lib_support): Match cris*-*-elf as
a negative pattern instead of cris*-*-*.
Index: lib/ld-lib.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/lib/ld-lib.exp,v
retrieving revision 1.104
diff -p -u -r1.104 ld-lib.exp
--- lib/ld-lib.exp 8 Mar 2013 17:37:30 -0000 1.104
+++ lib/ld-lib.exp 30 Apr 2013 17:13:53 -0000
@@ -1565,7 +1565,7 @@ proc check_shared_lib_support { } {
&& ![istarget arm*-*-elf]
&& ![istarget avr-*-*]
&& ![istarget cr16-*-*]
- && ![istarget cris*-*-*]
+ && ![istarget cris*-*-elf]
&& ![istarget crx-*-*]
&& ![istarget d10v-*-*]
&& ![istarget d30v-*-*]
brgds, H-P