From: Roland McGrath Date: Mon, 28 Jun 1993 03:56:04 +0000 (+0000) Subject: Formerly unix/bsd/m68k/sysdep.S.~2~ X-Git-Tag: glibc-2.16-ports-before-merge~4245 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dffe32033e634d073b311aec033b010933978505;p=thirdparty%2Fglibc.git Formerly unix/bsd/m68k/sysdep.S.~2~ --- diff --git a/sysdeps/unix/bsd/m68k/sysdep.S b/sysdeps/unix/bsd/m68k/sysdep.S index 764bc4beb82..a6b3c995570 100644 --- a/sysdeps/unix/bsd/m68k/sysdep.S +++ b/sysdeps/unix/bsd/m68k/sysdep.S @@ -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