
31 Dec
2004
31 Dec
'04
8:20 p.m.
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
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
panic: kernel trap (ignored)