This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 08/19] ld: testsuite: Mark PRU as elf target that does not support shared libraries
- From: Alan Modra <amodra at gmail dot com>
- To: Dimitar Dimitrov <dimitar at dinux dot eu>
- Cc: binutils at sourceware dot org
- Date: Wed, 14 Dec 2016 12:17:06 +1030
- Subject: Re: [PATCH 08/19] ld: testsuite: Mark PRU as elf target that does not support shared libraries
- Authentication-results: sourceware.org; auth=none
- References: <20161205204234.25426-1-dimitar@dinux.eu> <20161205204234.25426-9-dimitar@dinux.eu>
On Mon, Dec 05, 2016 at 10:42:23PM +0200, Dimitar Dimitrov wrote:
> +++ b/binutils/testsuite/lib/binutils-common.exp
> @@ -46,6 +46,7 @@ proc is_elf_format {} {
> && ![istarget frv-*-uclinux*]
> && ![istarget hppa*64*-*-hpux*]
> && ![istarget ia64-*-hpux*]
> + && ![istarget pru-*-*]
> && ![istarget sh*-*-uclinux*]
> && ![istarget tic6x*-*-uclinux*] } {
> return 0
Looks wrong to me. If you want to force ELF for --target=pru then the
way to do this is in config.sub, so that plain "pru" as a target
results in the canonical "pru-unknown-elf" which will match *-*-elf*
tested above this. (Yes, same comment applies to avr..)
The rest looks good.
--
Alan Modra
Australia Development Lab, IBM