From: Wolfgang Denk Date: Sun, 17 Feb 2008 23:05:06 +0100 Subject: [U-Boot-Users] [PATCH] PPC: Use r2 instead of r29 as global data pointer In-Reply-To: Your message of "Sun, 17 Feb 2008 17:20:31 +0100." <47B85ECF.5080207@semihalf.com> Message-ID: <20080217220506.D406924544@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rafal, in message <47B85ECF.5080207@semihalf.com> you wrote: > > How about switching r14 (GOT ptr) to r13 in a similar way? Quite like the r2, > r13 is a dedicated register (small data area purposes) and it would let us > avoid using the -ffixed completely. I have to admit that I don;t understand enough of these things to judge if R13 (listed as "small data area pointer") is really free for use for our purposes. > I can provide patches, but let me know your thoughts first. I guess you already ran some tests? If you are sure about this, and if it really works, then please submit your patches! 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 THIS IS A 100% MATTER PRODUCT: In the Unlikely Event That This Merchandise Should Contact Antimatter in Any Form, a Catastrophic Explosion Will Result.