From dffe32033e634d073b311aec033b010933978505 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 28 Jun 1993 03:56:04 +0000 Subject: [PATCH] Formerly unix/bsd/m68k/sysdep.S.~2~ --- sysdeps/unix/bsd/m68k/sysdep.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/bsd/m68k/sysdep.S b/sysdeps/unix/bsd/m68k/sysdep.S index 764bc4b..a6b3c99 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 -- 2.7.4