[En-Nut-Discussion] relocation truncated to fit: R_ARM_PC24

Harald Kipp harald.kipp at egnite.de
Wed Oct 6 08:39:19 CEST 2010


On 06.10.2010 06:56, Andre Riesberg wrote:
> Harald Kipp schrieb:
>> On 05.10.2010 16:06, Michael Jones wrote:
>>   
>>> at91_efc.c:(.text+0xb8): relocation truncated to fit: R_ARM_PC24 against symbol `At91EfcCmd' defined in .ramfunc section in ...\libnutarch.a(at91_efc.o)
>>> collect2: ld returned 1 exit status

> Why is the "At91EfcCmd" function placed in ram?

The function will re-program the Flash, so it needs to run in RAM.

> Or, why is the distance from from the call position to the function so far?

That's the question, indeed.

Thanks for checking this,

Harald



More information about the En-Nut-Discussion mailing list