entered into RCS

This commit is contained in:
Roland McGrath 1994-02-14 03:10:44 +00:00
parent 17fc35d638
commit 2bc551d14f
4 changed files with 12 additions and 12 deletions

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1993 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1993, 1994 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
@ -33,7 +33,7 @@ ___curbrk:
.text
ENTRY (__brk)
movel POUND(__end), d0
movel #__end, d0
cmpl sp@(4), d0
ble 0f
movel d0, sp@(4)

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1992, 1993, 1994 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
@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
#include <sysdeps/unix/sysdep.h>
#define POUND(foo) (@@@Hash-Here@@@)foo
#define POUND #
#ifdef __STDC__
#define ENTRY(name) \
@ -39,11 +39,11 @@ Cambridge, MA 02139, USA. */
.globl syscall_error; \
error: jmp syscall_error; \
ENTRY (name) \
DO_CALL (POUND (SYS_ify (syscall_name), args)
DO_CALL (POUND SYS_ify (syscall_name), args)
#define DO_CALL(syscall, args) \
movel syscall, d0; \
trap POUND(0); \
trap POUND 0; \
bcs error
#define ret rts

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1992, 1994 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
@ -38,7 +38,7 @@ ENTRY (__brk)
ble 0f
movel d0, sp@(4)
0: pea SYS_brk
trap POUND(0)
trap #0
bcs 1f
movel sp@(4), ___curbrk
clrl d0

View file

@ -1,4 +1,4 @@
/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
/* Copyright (C) 1991, 1992, 1994 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
@ -20,7 +20,7 @@ Cambridge, MA 02139, USA. */
#include <sysdeps/unix/sysdep.h>
#define POUND(foo) (@@@Hash-Here@@@)foo
#define POUND #
#ifdef __STDC__
#define ENTRY(name) \
@ -41,7 +41,7 @@ Cambridge, MA 02139, USA. */
error: jmp syscall_error; \
ENTRY (name) \
pea SYS_##syscall_name; \
trap POUND(0); \
trap POUND 0; \
bcs error
#else
#define PSEUDO(name, syscall_name, args) \
@ -50,7 +50,7 @@ Cambridge, MA 02139, USA. */
error: jmp syscall_error; \
ENTRY (name) \
pea SYS_/**/syscall_name; \
trap POUND(0); \
trap POUND 0; \
bcs error
#endif