aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm946es
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-12-09 11:26:24 +0100
committerWolfgang Denk <wd@denx.de>2010-12-13 23:58:50 +0100
commit3600945b5aebb2d029c97c48a38d8dc960ad6935 (patch)
tree6d33b1b09f6b86a5e42f36305c051dddc86e7098 /arch/arm/cpu/arm946es
parentee3894c681e3d8e6ef0f5cfe71f0b7143d864b39 (diff)
downloadu-boot-linaro-stable-3600945b5aebb2d029c97c48a38d8dc960ad6935.tar.gz
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/arm946es')
-rw-r--r--arch/arm/cpu/arm946es/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm946es/start.S b/arch/arm/cpu/arm946es/start.S
index 4e75109f8..f9c947024 100644
--- a/arch/arm/cpu/arm946es/start.S
+++ b/arch/arm/cpu/arm946es/start.S
@@ -211,7 +211,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 */