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

This commit is contained in:
Roland McGrath 1992-10-02 22:57:23 +00:00
parent 3be5518163
commit 188c2e4aa9

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1991 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1992 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
@ -16,13 +16,9 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
#ifdef HAVE_GNU_LD
#define ___errno _errno
#endif
.globl ___errno
.globl _errno
.globl syscall_error
syscall_error:
movl r0, ___errno
movl r0, _errno
mnegl $1, r0
ret