[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Re: [avr-libc-dev] [bug #14855] Link Error "relocatio
From: |
Dmitry K. |
Subject: |
Re: [avr-gcc-list] Re: [avr-libc-dev] [bug #14855] Link Error "relocation truncated to fit: R_AVR_13_PCREL" |
Date: |
Mon, 7 Nov 2005 18:04:18 +1000 |
User-agent: |
KMail/1.5 |
On Monday 07 November 2005 17:40, Dmitry K. wrote:
[...]
> The error is to mix the libraries. Is inadmissible to replace
> a part of library another if the author did not project such
> replacement initially. 'libm' uses some assumptions of use
> of registers to which does not follow 'libgcc'. Remember,
> for example, about jump through stack in 'libm'!
In addition:
The fault mixture is possible, if 'libgcc' is before to 'libm'.
It happens by default usage 'avr-g++'.
If to specify 'libm' to the first all works correctly.
There is no replacement of separate modules 'libm' another's modules.
The addition 'libgcc' after 'libm' too is obligatory, for example
there is a reference to procedures of a prologue/epilogue functions
in 'libm'. However, connection 'libgcc' in the end is carried out
by default.
Dmitry.