diff options
author | Wolfgang Denk <wd@denx.de> | 2010-12-09 10:26:24 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-12-13 22:58:50 (GMT) |
commit | 3600945b5aebb2d029c97c48a38d8dc960ad6935 (patch) | |
tree | 6d33b1b09f6b86a5e42f36305c051dddc86e7098 /arch/arm/cpu/armv7 | |
parent | ee3894c681e3d8e6ef0f5cfe71f0b7143d864b39 (diff) | |
download | u-boot-fsl-qoriq-3600945b5aebb2d029c97c48a38d8dc960ad6935.tar.xz |
ARM: */start.S: use canonical asm syntax
Make code build with older tool chains.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/arm/cpu/armv7')
-rw-r--r-- | arch/arm/cpu/armv7/start.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index c71ef6c..684f2d2 100644 --- a/arch/arm/cpu/armv7/start.S +++ b/arch/arm/cpu/armv7/start.S @@ -209,7 +209,7 @@ fixabs: mov r1, r1, LSR #4 /* r1 <- symbol index in .dynsym */ add r1, r10, r1 /* r1 <- address of symbol in table */ ldr r1, [r1, #4] /* r1 <- symbol value */ - add r1, r9 /* r1 <- relocated sym addr */ + add r1, r1, r9 /* r1 <- relocated sym addr */ b fixnext fixrel: /* relative fix: increase location by offset */ |