Relocation truncated to fit: R_ARM_PC24

Hanumesh R Shetty
Mon Apr 24 10:00:00 GMT 2006

hi all,
pls help me out from this prob..

[vineets@localhost ANOTHER]$ ./ n_app
Reading specs from
gcc version 2.95.3 20010315 (release)(ColdFire patches
- 20010318 from
XIP and shared lib patches from
 /usr/local/lib/gcc-lib/arm-elf/2.95.3/collect2 -X -o
-L/usr/local/arm-elf/lib -elf2flt=-r -shared-lib-id 0
n_app.o -R n_libr.gdb
-lgcc -lg -lc -lgcc
n_app.elf2flt(.text+0x18c): In function `_start':
: relocation truncated to fit: R_ARM_PC24 abort
collect2: ld returned 1 exit status contains..
arm-elf-gcc -v --static -mlong-calls -O0 -o $1 -g
-Wl,-elf2flt=-r -D__PIC__ -fpic -msingle-pic-base 
-D__linux__ -DNO_MM -DDE_BUG
-Wl,-shared-lib-id,0 -nostartfiles  $1.o

even sfter using the -mlong-call option i failed. bcoz
the compiler not recognising this option. pls let me
know the alternate solution for this

Yahoo! India Matrimony: Find your partner now. Go to

For unsubscribe information see

More information about the crossgcc mailing list