From: Wolfgang Denk Date: Mon, 12 Aug 2013 07:53:15 +0200 Subject: [U-Boot] [PATCH 3/3] ARM: use r9 for gd In-Reply-To: <1376254719-15594-4-git-send-email-jeroen@myspectrum.nl> References: <1376254719-15594-1-git-send-email-jeroen@myspectrum.nl> <1376254719-15594-4-git-send-email-jeroen@myspectrum.nl> Message-ID: <20130812055315.DA080380DFA@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 Jeroen Hofstee, In message <1376254719-15594-4-git-send-email-jeroen@myspectrum.nl> you wrote: > To be more EABI compliant and as a preparation for building > with clang, use the platform-specific r9 register for gd > instead of r8. > > note: The FIQ is not updated since it is not used in u-boot, > and under discussion for the time being. > > The following checkpatch warning is ignoredL > WARNING: Use of volatile is usually wrong: see > Documentation/volatile-considered-harmful.txt > > Signed-off-by: Jeroen Hofstee > --- > arch/arm/config.mk | 2 +- > arch/arm/include/asm/global_data.h | 2 +- > arch/arm/lib/crt0.S | 16 ++++++++-------- > 3 files changed, 10 insertions(+), 10 deletions(-) IIRC, r9 is used as GOT pointer ? In any case, please also update the README section of register usage on ARM. 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 To be awake is to be alive. - Henry David Thoreau, in "Walden"