Formerly unix/bsd/m68k/sysdep.S.~2~

This commit is contained in:
Roland McGrath 1993-06-28 03:56:04 +00:00
parent be829b7ca1
commit dffe32033e
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -18,6 +18,11 @@ Cambridge, MA 02139, USA. */
.globl syscall_error
syscall_error:
#ifdef __motorola__
move.l d0, _errno
moveq.l #-1, d0
#else
movel d0, _errno
moveq #-1, d0
#endif
rts