This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
linker trampoline code (branches > 64MB)
- From: Duncan Purll <duncanpurll at yahoo dot co dot uk>
- To: binutils at sourceware dot org
- Date: Thu, 27 Mar 2008 06:28:36 +0000 (GMT)
- Subject: linker trampoline code (branches > 64MB)
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/