
2 Jul
2004
2 Jul
'04
1:54 p.m.
On Fri, 2 Jul 2004 13:14:39 +0200 Andreas Engel wrote:
compiled code of getenv_r destroys the content of r8, which holds the global data pointer. Of course this makes u-boot fail. Is this a bug in u-boot or the toolchain? Or did I miss something else?
Umm... of course I missed something: I shouldn't stop reading in the middle of the relevant gcc info page.
JFTR: in cpu/epxa/config.mk add '-ffixed-r8' to PLATFORM_RELFLAGS.
Soliloquizing, Andreas