[PATCH ARC 3/3]: Fixed-linker-related-testsuite-for-ARC

Alan Modra amodra@gmail.com
Thu May 12 00:28:00 GMT 2016


On Wed, May 11, 2016 at 03:23:34PM +0000, Cupertino Miranda wrote:
> @@ -1707,7 +1706,7 @@ proc check_gc_sections_available { } {
>  
>  proc check_shared_lib_support { } {
>      if {![istarget aarch64*-*-elf]
> -	 && ![istarget arc*-*-*]
> +	 && ![istarget arc*-*-elf32]
>  	 && ![istarget arm*-*-elf]
>  	 && ![istarget avr-*-*]
>  	 && ![istarget cr16-*-*]

The other testsuite changes are OK, but this one looks wrong.
--target=arc-elf is a valid configure option, resulting in a target
triple of arc-unknown-elf.

$ ./config.sub arc-elf
arc-unknown-elf

This one also builds
$ ./config.sub arc-linux-uclibc
arc-unknown-linux-uclibc

But this one doesn't, and probably ought to be fixed in config.sub
upstream.
$ ./config.sub arc
arc-unknown-none

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list