This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] SPU Initialize __ea_local_store via register 6
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: Andrew_Pinski at PlayStation dot Sony dot Com
- Cc: patmans at us dot ibm dot com (Patrick Mansfield), jjohnstn at redhat dot com (Jeff Johnston), newlib at sourceware dot org
- Date: Tue, 2 Oct 2007 15:16:09 +0200 (CEST)
- Subject: Re: [PATCH] SPU Initialize __ea_local_store via register 6
Andrew Pinski wrote:
> > The effective address (EA) of the local store (LS) is now passed via
> > register 6, store it into a global variable.
>
> > +.comm __ea_local_store,16,16
>
> Do you really want a common symbol here?
Why not? This is just what GCC would use to implement
a (uninitialized) global variable ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com