[U-Boot] [PATCH 3/3] ARM: use r9 for gd

Wolfgang Denk
2013-08-12T05:53:15Z

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 <jeroen@myspectrum.nl>
> ---
> 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"