From ec9b0cbdec2313e0bbad3e4f62963a8b98dbcb6a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Jan 2006 06:42:52 +0000 Subject: use __syscall_error trick --- libc/sysdeps/linux/m68k/clone.S | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'libc/sysdeps/linux/m68k/clone.S') 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) -- cgit v1.2.3