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

Michael Jones Michael.e.Jones at web.de
Tue Oct 5 16:06:45 CEST 2010


Hello,

I've run into a little problem here:

...\libnutarch.a(at91_efc.o): In function `At91EfcSectorWrite':
at91_efc.c:(.text+0x68): relocation truncated to fit: R_ARM_PC24 against symbol `At91EfcCmd' defined in .ramfunc section in ...\libnutarch.a(at91_efc.o)
...\libnutarch.a(at91_efc.o): In function `At91EfcRegionLock':
at91_efc.c:(.text+0x9c): relocation truncated to fit: R_ARM_PC24 against symbol `At91EfcCmd' defined in .ramfunc section in ...\libnutarch.a(at91_efc.o)
...\libnutarch.a(at91_efc.o): In function `At91EfcRegionUnlock':
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

Now I can see that somebody had this problem in 2008 but I can't work out how to solve this.

The Linker script used is the at91sam7se512_rom.ld (head) and I can see an .ramfunc section defined.

Any suggestions?
Thanks!

Michael




More information about the En-Nut-Discussion mailing list