From cb6e94a4b82aebdff8b39bf687a8b90f78a3d6e6 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 15 Dec 2002 21:39:21 +0000 Subject: Make inline syscall to _exit. --- sysdeps/unix/sysv/linux/m68k/clone.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux') diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S index e19172a8f7..6baf723d9b 100644 --- a/sysdeps/unix/sysv/linux/m68k/clone.S +++ b/sysdeps/unix/sysv/linux/m68k/clone.S @@ -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) -- cgit 1.4.1