[U-Boot-Users] manual relocation in u-boot

Hi,
Would it be correct to say that u-boot requires C-code to manually relocate things like pointers stored in statically initialized arrays?
If so, Is there any mention of this requirement in the U-boot documentation? (I tried to find some).
For example, "post_reloc()" in post/post.c
Thanks - Joe

In message 20041231154722.33928.qmail@web21208.mail.yahoo.com you wrote:
Would it be correct to say that u-boot requires C-code to manually relocate things like pointers stored in statically initialized arrays?
Yes, this is correct. Blame it on me - I just don't know if it is possible to make GC add the relevant entries to the GOT, and how.
If so, Is there any mention of this requirement in the U-boot documentation? (I tried to find some).
There are a few comments in the source code (like: "We have to relocate the command table manually" in lib_ppc/board.c) but without much explanation.
Feel free to submit a patch to improve this.
Best regards,
Wolfgang Denk
participants (2)
-
Joseph DeVincentis
-
Wolfgang Denk