|
@@ -49,8 +49,8 @@ ENTRY(clone)
|
|
blt .L__sys_err2 ; < 0 (signed) error
|
|
blt .L__sys_err2 ; < 0 (signed) error
|
|
jnz [blink] ; Parent returns
|
|
jnz [blink] ; Parent returns
|
|
|
|
|
|
- ; child jumps off to @fn with @arg as argument
|
|
+ ; child jumps off to @fn with @arg as argument, and returns here
|
|
- j.d [r10]
|
|
+ jl.d [r10]
|
|
mov r0, r11
|
|
mov r0, r11
|
|
|
|
|
|
; falls thru to _exit() with result from @fn (already in r0)
|
|
; falls thru to _exit() with result from @fn (already in r0)
|