summaryrefslogtreecommitdiff
path: root/src/ldso/arm
diff options
context:
space:
mode:
Diffstat (limited to 'src/ldso/arm')
-rw-r--r--src/ldso/arm/start.s5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ldso/arm/start.s b/src/ldso/arm/start.s
index 359711e1..25675782 100644
--- a/src/ldso/arm/start.s
+++ b/src/ldso/arm/start.s
@@ -3,12 +3,9 @@
_start:
ldr r0,[sp]
add r1,sp,#4
- ldr r2,2f
- add r2,pc,r2
-1: bl __dynlink
+ bl __dynlink
mov r1,r0
mov r0,#0
tst r1,#1
moveq pc,r1
bx r1
-2: .word _GLOBAL_OFFSET_TABLE_ - 1b - 4