
9 Nov
2005
9 Nov
'05
8:45 p.m.
You see R_PPC_REL24 "relocation out of range" errors when the "distance" between symbols is bigger than the range addressable with a 24 bit offset.
Thank you all for the hints. I figured out how to modify the link script to generate RAM image. Since u-boot is already relocated to RAM, the sections for reset vector and bootpg are essentially useless. So I just deleted the definitions related to these two sections.
.resetvec 0xFFFFFFFC : { *(.resetvec) } = 0xffff
.bootpg 0xFFFFF000 : { cpu/ppc4xx/start.o (.bootpg) } = 0xffff
And I got my symbol files for WindRiver ICE.
Regards, -Shawn.