diff options
author | Wolfgang Denk <wd@denx.de> | 2010-12-09 11:26:24 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-12-13 23:58:50 +0100 |
commit | 3600945b5aebb2d029c97c48a38d8dc960ad6935 (patch) | |
tree | 6d33b1b09f6b86a5e42f36305c051dddc86e7098 /arch/arm/cpu/armv7/start.S | |
parent | ee3894c681e3d8e6ef0f5cfe71f0b7143d864b39 (diff) |
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/start.S')
-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 c71ef6cf92..684f2d2538 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 */ |