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

fix arm clone syscall bug (no effect unless app uses clone)

the code to exit the new thread/process after the start function
returns was mixed up in its syscall convention.
上级 68dbd050
......@@ -27,8 +27,7 @@ clone:
bne 1f
mov lr,pc
mov pc,r5
2: mov r1,r0
mov r0,#1
2: mov r7,#1
svc 0
1: mov lr,pc
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册