From e81a170b787272f014375ee70a5e4fb3ec72f2aa Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 15 Dec 2002 21:39:21 +0000 Subject: [PATCH] Make inline syscall to _exit. --- sysdeps/unix/sysv/linux/m68k/clone.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)