Formerly unix/bsd/sony/newsos/m68k/sysdep.h.~5~

This commit is contained in:
Roland McGrath 1994-02-14 03:10:40 +00:00
parent 1d84d0a0c0
commit 17fc35d638

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1993 Free Software Foundation, Inc. /* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
#include <sysdeps/unix/sysdep.h> #include <sysdeps/unix/sysdep.h>
#define POUND(foo) (@@@Hash-Here@@@)foo #define POUND #
#ifdef __STDC__ #ifdef __STDC__
#define ENTRY(name) \ #define ENTRY(name) \
@ -39,7 +39,7 @@ Cambridge, MA 02139, USA. */
.globl syscall_error; \ .globl syscall_error; \
error: jmp syscall_error; \ error: jmp syscall_error; \
ENTRY (name) \ ENTRY (name) \
DO_CALL (POUND (SYS_ify (syscall_name)), args) DO_CALL (POUND SYS_ify (syscall_name), args)
#define DO_CALL(syscall, args) \ #define DO_CALL(syscall, args) \
movel syscall, d0; \ movel syscall, d0; \