summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/clone.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-14 06:42:52 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-14 06:42:52 +0000
commitec9b0cbdec2313e0bbad3e4f62963a8b98dbcb6a (patch)
tree913cb6675ad810633eebd0af9598aad9fbfbe64d /libc/sysdeps/linux/m68k/clone.S
parent053ef4dda3a3b5776109261ff7d46475dd97fbf4 (diff)
use __syscall_error trick
Diffstat (limited to 'libc/sysdeps/linux/m68k/clone.S')
-rw-r--r--libc/sysdeps/linux/m68k/clone.S11
1 files changed, 0 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/m68k/clone.S b/libc/sysdeps/linux/m68k/clone.S
index 1c4176c3f..2735bcba0 100644
--- a/libc/sysdeps/linux/m68k/clone.S
+++ b/libc/sysdeps/linux/m68k/clone.S
@@ -55,17 +55,6 @@ clone:
rts
-__syscall_error:
- negl %d0
- movel %d0, %sp@-
- lea __errno_location-.-8, %a0
- jsr %pc@(%a0)
- movel %d0, %a0
- movel %sp@+, %a0@
- moveq #-1, %d0
-
- rts
-
thread_start:
/*subl %fp, %fp*/ /* terminate the stack frame */
jsr (%a0)