Skip to content

Commit

Permalink
Make inline syscall to _exit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Dec 15, 2002
1 parent 4cbc195 commit cb6e94a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sysdeps/unix/sysv/linux/m68k/clone.S
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cb6e94a

Please sign in to comment.