[U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker scripts: add NOLOAD atribute to .bss/.sbss sections

Wolfgang Denk wd at denx.de
Mon Feb 4 20:14:31 CET 2008


In message <20080204165640.GC19264 at ld0162-tx32.am.freescale.net> you wrote:
> On Mon, Feb 04, 2008 at 12:32:36AM +0100, Wolfgang Denk wrote:
> > So far, it is not clear to me what  a  better  choice  for  a  global
> > register variable could be (i. e. which register we can chose for our
> > purpose without causing the same or other problems.
> 
> r2 is generally used for this purpose.

Hm... R2 is documented to be the TOC pointer?

It seems we could use R15, but I hesitate a bit...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The flow chart is a most thoroughly oversold piece of  program  docu-
mentation.              -- Frederick Brooks, "The Mythical Man Month"




More information about the U-Boot mailing list