linker trampoline code (branches > 64MB)
Duncan Purll
duncanpurll@yahoo.co.uk
Thu Mar 27 06:29:00 GMT 2008
Hi
This question relates to the GNU toolchain for VxWorks 3.3.2 PowerPC target.
I am in the process of verifying the linker in respect of trampoline code, ie. Branches > 64 MB. This is via a call to linker_test_1 from linker_test_main
However, when I try to relocate some test code by 0x3000000 I get the following error
linker_test_main.o(.text+0x8c): In function `linker_test_main':
C:\gccPPC604Verification\linkerverification/linker_test_main.c:38: relocation truncated to fit: R_PPC_REL24 linker_test_1
linker_test_1.o(.text+0x154): In function `linker_test_1':
C:\gccPPC604Verification\linkerverification/linker_test_1.c:47: relocation truncated to fit: R_PPC_REL24 __udivdi3
And no linked file
Can you explain how I get round this error, please?
Thanks
Duncan
___________________________________________________________
Yahoo! For Good helps you make a difference
http://uk.promotions.yahoo.com/forgood/
More information about the Binutils
mailing list