[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:16:03 CET 2008


In message <47A74E10.5000106 at freescale.com> you wrote:
>
> > A possible approach to this  problem  is  to  avoid  using  a  global
> > register  variable  and  use  a  plain  global  variable instead. 
> 
> Sounds like a good idea to me.  If the code works, then this would simplify 
> things a great deal.  The code that reads and writes the gd_t isn't 
> time-critical anyway.

Except for the declaration of the variable itself, *nothing* changes.
What do you mean would become simpler?

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
It is surely a great calamity for  a  human  being  to  have  no  ob-
sessions.                                                - Robert Bly




More information about the U-Boot mailing list