This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

relocation truncated to fit: R_ARM_THM_PC22


**********************************************************************
Diese E-Mail wurde auf Viren untersucht.
This e-mail has been scanned for viruses.
**********************************************************************

Hi,

We try to compile an application for the AT91M55800A. The code is mainly
located in Flash, but some functions have to be in RAM. Flash uses address
space 0x1000000 upwards, RAM 0x2000000 upwards. We use arm-elf-gcc version
3.2.1 and binutils version 2.13. There are a lot of error messages like the
following:

/cygdrive/D/SRC/CS/V24/SRC/sioframe.c:522: relocation truncated to fit:
R_ARM_THM_PC22 IORead

Flags "-mlong-calls" or "-relax" did not help. I found some Information in
the www, but no solution. Did anyone manage this problem?

Dietmar Ernst


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]