提交 fcaf7065 编写于 作者: R Rich Felker

dynamic linker entry point for arm

mildly tested, seems to work
上级 74cc7c69
.text
.global _start
_start:
ldr r0,[sp]
add r1,sp,#4
ldr r2,2f
add r2,pc,r2
1: bl __dynlink
mov r1,r0
mov r0,#0
tst r1,#1
moveq pc,r1
bx r1
2: .word _GLOBAL_OFFSET_TABLE_ - 1b - 4
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册