summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm1136
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/arm1136
parentee3894c681e3d8e6ef0f5cfe71f0b7143d864b39 (diff)
downloadu-boot-imx-3600945b5aebb2d029c97c48a38d8dc960ad6935.zip
u-boot-imx-3600945b5aebb2d029c97c48a38d8dc960ad6935.tar.gz
u-boot-imx-3600945b5aebb2d029c97c48a38d8dc960ad6935.tar.bz2
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/arm1136')
-rw-r--r--arch/arm/cpu/arm1136/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S
index d14a7bb..9a6f6cb 100644
--- a/arch/arm/cpu/arm1136/start.S
+++ b/arch/arm/cpu/arm1136/start.S
@@ -234,7 +234,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 */