[U-Boot-Users] u-boot linking error

Shawn Jin shawnxjin at gmail.com
Wed Nov 9 20:45:05 CET 2005


> 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.




More information about the U-Boot mailing list