This is the mail archive of the crossgcc@sourceware.org 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_PC24


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

[vineets@localhost ANOTHER]$ ./my_appcmp.sh n_app
Reading specs from
/usr/local/lib/gcc-lib/arm-elf/2.95.3/specs
gcc version 2.95.3 20010315 (release)(ColdFire patches
- 20010318 from http://fiddes.net/coldfire/)(uClinux
XIP and shared lib patches from
http://www.snapgear.com/)
 /usr/local/lib/gcc-lib/arm-elf/2.95.3/collect2 -X -o
n_app
-L/usr/local/lib/gcc-lib/arm-elf/2.95.3/fpic/msingle-pic-base
-L/usr/local/lib/gcc-lib/arm-elf/2.95.3
-L/usr/local/arm-elf/lib/fpic/msingle-pic-base
-L/usr/local/arm-elf/lib -elf2flt=-r -shared-lib-id 0
n_app.o -R n_libr.gdb
/home/vineets/sheety/NEW_FRAME_WORK/ANOTHER/crt0.o
-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

my_appcom.sh 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
-I/home/tayalr/incoming/uClinux-dist/lib/uClibc/include
-Wl,-shared-lib-id,0 -nostartfiles  $1.o
-Wl,-R,n_libr.gdb
/home/vineets/sheety/NEW_FRAME_WORK/ANOTHER/crt0.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 http://yahoo.shaadi.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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