summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-12-09 10:26:24 (GMT)
committerWolfgang Denk <wd@denx.de>2010-12-13 22:58:50 (GMT)
commit3600945b5aebb2d029c97c48a38d8dc960ad6935 (patch)
tree6d33b1b09f6b86a5e42f36305c051dddc86e7098 /arch/arm/cpu/armv7
parentee3894c681e3d8e6ef0f5cfe71f0b7143d864b39 (diff)
downloadu-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.S2
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 */