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

Alan Modra amodra@gmail.com
Wed Dec 14 01:47:00 GMT 2016
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



More information about the Binutils mailing list