diff options
author | Andreas Schwab <schwab@suse.de> | 1998-06-10 01:37:21 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1998-06-10 01:37:21 +0000 |
commit | 4bec453640d6ed6e9cd066347bc8199fb9dea28e (patch) | |
tree | a39c20aefe8c5195f43c1403d2556a749ed019a4 /sysdeps/unix/sysv/linux/m68k/clone.S | |
parent | 9e2c0dae9be993530623d0088b95f1278b2686c0 (diff) | |
download | glibc-4bec453640d6ed6e9cd066347bc8199fb9dea28e.tar.gz |
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
definition.
(PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/sysdep.h (SYSCALL_ERROR_LABEL): New
definition.
(PSEUDO, SYSCALL_ERROR_HANDLER): Use it instead of syscall_error.
* sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/syscall.S: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k/clone.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/clone.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S index d553ab78c6..622f8117ac 100644 --- a/sysdeps/unix/sysv/linux/m68k/clone.S +++ b/sysdeps/unix/sysv/linux/m68k/clone.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. Contributed by Andreas Schwab (schwab@issan.informatik.uni-dortmund.de) The GNU C Library is free software; you can redistribute it and/or @@ -32,10 +32,10 @@ ENTRY (__clone) movel #-EINVAL, %d0 movel 4(%sp), %a0 /* no NULL function pointers */ tstl %a0 - jeq syscall_error + jeq SYSCALL_ERROR_LABEL movel 8(%sp), %a1 /* no NULL stack pointers */ tstl %a1 - jeq syscall_error + jeq SYSCALL_ERROR_LABEL /* Allocate space and copy the argument onto the new stack. */ movel 16(%sp), -(%a1) @@ -48,7 +48,7 @@ ENTRY (__clone) exg %d2, %a1 /* restore %d2 */ tstl %d0 - jmi syscall_error + jmi SYSCALL_ERROR_LABEL jeq thread_start rts |