summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/arm925t/start.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/cpu/arm925t/start.S')
-rw-r--r--arch/arm/cpu/arm925t/start.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm925t/start.S b/arch/arm/cpu/arm925t/start.S
index 67e706b..2c0c869 100644
--- a/arch/arm/cpu/arm925t/start.S
+++ b/arch/arm/cpu/arm925t/start.S
@@ -240,7 +240,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 */