avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] Re: [avr-gcc-list] multiple -Tdata options passed to the


From: Anatoly Sokolov
Subject: [avr-libc-dev] Re: [avr-gcc-list] multiple -Tdata options passed to the linker forsome AVRs
Date: Wed, 8 Mar 2006 02:04:07 +0300

Hello Joerg.

> There are two -Tdata options passed down to the linker.  Obviously,
> the order of evaluation has been changed between binutils 2.15 and
> 2.16, but we can hardly blame them for this.
>
> Are there any other ideas how to circumvent that problem?

It while only idea, it is necessary to check up it.

\gcc\config\avr\avr.h

#define LINK_SPEC " %{!mmcu*:-m avr2}\
........
%{mmcu=atmega16*|mmcu=atmega32*|mmcu=atmega64*|mmcu=atmega128|mmcu=at90can128|mmcu=at94k:-m
 
avr5}\
%{Tdata*:-Tdata*;\
mmcu=atmega325|mmcu=atmega3250|......|mmcu=atmega169: -Tdata 0x800100;\
mmcu=atmega640...: -Tdata 0x800200} "

If at a command line there is '-Tdata' key that to transfer it without 
changes to ld. If there is no that if necessary to generate it.


Anatoly. 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]