-/* Copyright (C) 1993 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995 Free Software Foundation, Inc.
Contributed by Brendan Kehoe (brendan@zen.org).
The GNU C Library is free software; you can redistribute it and/or
Cambridge, MA 02139, USA. */
#include <sysdeps/unix/sysdep.h>
+
+#ifdef ASSEMBLER
+
#include <machine/pal.h> /* get PAL_callsys */
#include <regdef.h>
#define r0 v0
#define r1 a4
#define MOVE(x,y) mov x, y
+
+#endif /* ASSEMBLER */
/* System call interface code for Sequent Symmetry running Dynix version 3.
-Copyright (C) 1993 Free Software Foundation, Inc.
+Copyright (C) 1993, 1995 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
#include <sysdeps/unix/i386/sysdep.h>
+#ifdef ASSEMBLER
+
/* Get the symbols for system call interrupts. */
#include <machine/trap.h>
#define r1 %ecx /* Secondary return-value register. */
#undef scratch
#define scratch %edx /* Call-clobbered register for random use. */
+
+#endif /* ASSEMBLER */
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 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
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-/* This code wants to be run through m4. */
-
#include <sysdeps/unix/sysdep.h>
+#ifdef ASSEMBLER
+
#define POUND #
#ifdef __STDC__
#define r0 d0
#define r1 d1
#define MOVE(x,y) movel x , y
+
+#endif
-/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995 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
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-/* This code wants to be run through m4; see sysdeps/m68k/Makefile. */
-
#include <sysdeps/unix/sysdep.h>
+#ifdef ASSEMBLER
+
#define POUND #
#ifdef __STDC__
#define r0 d0
#define r1 d1
#define MOVE(x,y) movel x , y
+
+#endif /* ASSEMBLER */
-/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995 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
#include <sysdeps/unix/sysdep.h>
+#ifdef ASSEMBLER
+
#ifdef __STDC__
#define ENTRY(name) \
.globl _##name; \
#endif
#define MOVE(x,y) movl x , y
+
+#endif /* ASSEMBLER */
-/* Copyright (C) 1992 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995 Free Software Foundation, Inc.
Contributed by Brendan Kehoe (brendan@zen.org).
The GNU C Library is free software; you can redistribute it and/or
Cambridge, MA 02139, USA. */
#include <sysdeps/unix/sysdep.h>
+
+#ifdef ASSEMBLER
+
#include <regdef.h>
#ifdef __STDC__
#define r1 v1
/* The mips move insn is d,s. */
#define MOVE(x,y) move y , x
+
+#endif
-/* Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
Contributed by Brendan Kehoe (brendan@zen.org).
The GNU C Library is free software; you can redistribute it and/or
#include <sysdeps/unix/sysdep.h>
+#ifdef ASSEMBLER
+
/* As of gcc-2.6.0, it complains about pound signs in front of things
that aren't arguments to the macro. So we use this to pull it off
instead. */
#define r1 %o1
#define MOVE(x,y) mov x, y
+#endif /* ASSEMBLER */