aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-12-15 21:39:21 +0000
committerAndreas Schwab <schwab@suse.de>2002-12-15 21:39:21 +0000
commitcb6e94a4b82aebdff8b39bf687a8b90f78a3d6e6 (patch)
tree139fe9cdf1da99cefa5afb62a73f12d8442a7842
parent4cbc19503345d159ade2da6a3c31c202aababa5c (diff)
downloadglibc-cb6e94a4b82aebdff8b39bf687a8b90f78a3d6e6.zip
glibc-cb6e94a4b82aebdff8b39bf687a8b90f78a3d6e6.tar.gz
glibc-cb6e94a4b82aebdff8b39bf687a8b90f78a3d6e6.tar.bz2
Make inline syscall to _exit.
-rw-r--r--sysdeps/unix/sysv/linux/m68k/clone.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S
index e19172a..6baf723 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)