This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH ARC 3/3]: Fixed-linker-related-testsuite-for-ARC
- From: Alan Modra <amodra at gmail dot com>
- To: Cupertino Miranda <Cupertino dot Miranda at synopsys dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Claudiu Zissulescu <Claudiu dot Zissulescu at synopsys dot com>, Francois Bedard <Francois dot Bedard at synopsys dot com>
- Date: Thu, 12 May 2016 09:58:29 +0930
- Subject: Re: [PATCH ARC 3/3]: Fixed-linker-related-testsuite-for-ARC
- Authentication-results: sourceware.org; auth=none
- References: <EB86EB452ADE4B44B294F7149B8A2777021B4E0F at DE02WEMBXB dot internal dot synopsys dot com>
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