aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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
commite81a170b787272f014375ee70a5e4fb3ec72f2aa (patch)
treeab307db693251e8a22e93bfab1aaaf7773902c10 /sysdeps
parent8ea965156db39663f7bdf7920e9dc5cd723669a9 (diff)
downloadglibc-e81a170b787272f014375ee70a5e4fb3ec72f2aa.tar.xz
glibc-e81a170b787272f014375ee70a5e4fb3ec72f2aa.zip
Make inline syscall to _exit.
Diffstat (limited to 'sysdeps')
-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 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)