[U-Boot] [PATCH 0/3] ARM: use r9 for gd instead of r8

Jeroen Hofstee jeroen at myspectrum.nl
Sun Aug 11 22:58:36 CEST 2013


To be EABI compliant (r9 is a platform specific register) and as
a prepration for building u-boot with clang/llvm (with does / will
support r9 as reserved register), store the pointer to gd in r9.

Jeroen Hofstee (3):
  ARM: make reserving the gd register a make variable
  ARM,relocate: do not use r9
  ARM: use r9 for gd

 arch/arm/config.mk                   |  2 ++
 arch/arm/cpu/arm1136/config.mk       |  2 +-
 arch/arm/cpu/arm1176/config.mk       |  2 +-
 arch/arm/cpu/arm720t/config.mk       |  2 +-
 arch/arm/cpu/arm920t/config.mk       |  2 +-
 arch/arm/cpu/arm925t/config.mk       |  2 +-
 arch/arm/cpu/arm926ejs/config.mk     |  2 +-
 arch/arm/cpu/arm946es/config.mk      |  2 +-
 arch/arm/cpu/arm_intcm/config.mk     |  2 +-
 arch/arm/cpu/armv7/config.mk         |  2 +-
 arch/arm/cpu/armv7/rmobile/config.mk |  2 +-
 arch/arm/cpu/ixp/config.mk           |  2 +-
 arch/arm/cpu/pxa/config.mk           |  2 +-
 arch/arm/cpu/s3c44b0/config.mk       |  2 +-
 arch/arm/cpu/sa1100/config.mk        |  2 +-
 arch/arm/include/asm/global_data.h   |  2 +-
 arch/arm/lib/crt0.S                  | 16 ++++++++--------
 arch/arm/lib/relocate.S              |  6 +++---
 18 files changed, 28 insertions(+), 26 deletions(-)

-- 
1.8.1.2



More information about the U-Boot mailing list