This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: {Patch] }Treat avr as elf target in nm.exp
- From: Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Senthil Kumar Selvaraj <senthil_kumar dot selvaraj at atmel dot com>, Binutils <binutils at sourceware dot org>, Denis Chertykov <chertykov at gmail dot com>
- Date: Mon, 25 Apr 2016 14:58:44 +0530
- Subject: Re: {Patch] }Treat avr as elf target in nm.exp
- Authentication-results: sourceware.org; auth=none
- References: <87twisjjqk dot fsf at atmel dot com> <571DD4A9 dot 4000805 at redhat dot com>
Nick Clifton writes:
> Hi Senthil,
>
>> 2016-04-23 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
>>
>> * binutils-all/nm.exp: Add avr to elf
>> target list.
>
>
>> if { [is_elf_format]
>> + || [istarget avr-unknown-none]
>
> I think that this should be:
>
> || [istarget avr-*-*]
>
> since you cannot be sure that the user has configured the toolchain as avr-unknown-none.
>
> Approved with that change.
Thanks Nick, but I think I'll take Alan's advice and add avr-*-* to
is_elf_format and see if I can fix the failures.
Regards
Senthil