Make inline syscall to _exit.

This commit is contained in:
Andreas Schwab 2002-12-15 21:39:21 +00:00
parent 4cbc195033
commit cb6e94a4b8

View File

@ -57,8 +57,9 @@ ENTRY (__clone)
thread_start:
subl %fp, %fp /* terminate the stack frame */
jsr (%a0)
movel %d0, -(%sp)
jbsr HIDDEN_JUMPTARGET (_exit)
movel %d0, %d1
movel #SYS_ify (exit), %d0
trap #0
PSEUDO_END (__clone)