avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] what means error: relocation truncated to fit


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] what means error: relocation truncated to fit
Date: Mon, 29 Jul 2002 16:00:10 +0200 (MET DST)

Klaus Rudolph <address@hidden> wrote:

> ass.o: In function `AdrClear':
> ass.o(.text+0x8): relocation truncated to fit: R_AVR_13_PCREL WriteString
> make: *** [test.srec] Error 1

I'd say your rcall destination is outside the reachable range for an
rcall.  This also explains why it only happens when compiling and
linking the entire project, and is not replicable with a small set of
files.

Solution: use call instead of rcall.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org



reply via email to

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