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

Joakim Tjernlund
2008-02-15T18:18:17Z

> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net [mailto:u-boot-users-bounces at lists.sourceforge.net]
> On Behalf Of Wolfgang Denk
> Sent: den 14 februari 2008 23:19
> To: Scott Wood
> Cc: u-boot-users at lists.sourceforge.net; Stefan Roese
> Subject: Re: [U-Boot-Users] [PPC] PLEASE READ - was: [PATCH] Fix linker scripts: add NOLOAD atribute
> to .bss/.sbss sections
>
> In message <47A764BC.3000303@freescale.com> you wrote:
> >
> > > Hm... R2 is documented to be the TOC pointer?
> >
> > The ABI document says, "Register r2 is reserved for system use and
> > should not be changed by application code."
>
> OK, tried this, and seems to work. Well, let's throw it out and see
> what else it breaks ;-)
>
> Patch posted - my own tests look good, so I will apply it ;-)

Works here too, limited testing though

Jocke