This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 08/19] ld: testsuite: Mark PRU as elf target that does not support shared libraries


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]