Make inline syscall to _exit.

This commit is contained in:
Andreas Schwab 2002-12-15 21:39:21 +00:00
parent 8ea965156d
commit e81a170b78
1 changed files with 3 additions and 2 deletions

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)