From b736bc09321871c1ac697463149e569a2fe48d4c Mon Sep 17 00:00:00 2001 From: Brendan Kehoe Date: Tue, 21 Apr 1992 06:38:12 +0000 Subject: [PATCH] entered into RCS --- sysdeps/unix/bsd/sun/getdents.S | 4 ++-- sysdeps/unix/bsd/sun/sigvec.S | 24 ++++++++++++++++++++++++ sysdeps/unix/bsd/vax/pipe.S | 4 ++-- sysdeps/unix/bsd/vax/wait.S | 4 ++-- sysdeps/unix/bsd/vax/wait3.S | 5 ++--- 5 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 sysdeps/unix/bsd/sun/sigvec.S diff --git a/sysdeps/unix/bsd/sun/getdents.S b/sysdeps/unix/bsd/sun/getdents.S index 20116de..6c4f7af 100644 --- a/sysdeps/unix/bsd/sun/getdents.S +++ b/sysdeps/unix/bsd/sun/getdents.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992 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,5 +18,5 @@ Cambridge, MA 02139, USA. */ #include -SYSCALL__ (getdirentries) +SYSCALL__ (getdirentries, 4) ret diff --git a/sysdeps/unix/bsd/sun/sigvec.S b/sysdeps/unix/bsd/sun/sigvec.S new file mode 100644 index 0000000..fdf919c --- /dev/null +++ b/sysdeps/unix/bsd/sun/sigvec.S @@ -0,0 +1,24 @@ +/* Copyright (C) 1991, 1992 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 +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +/* __sigvec is defined by sigtramp.c. */ + +PSEUDO (__raw_sigvec, sigvec, 3) + ret diff --git a/sysdeps/unix/bsd/vax/pipe.S b/sysdeps/unix/bsd/vax/pipe.S index 67c6e22..9501744 100644 --- a/sysdeps/unix/bsd/vax/pipe.S +++ b/sysdeps/unix/bsd/vax/pipe.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992 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,7 +18,7 @@ Cambridge, MA 02139, USA. */ #include -SYSCALL__ (pipe) +SYSCALL__ (pipe, 1) movl 4(ap), r2 movl r0, (r2)+ movl r1, (r2) diff --git a/sysdeps/unix/bsd/vax/wait.S b/sysdeps/unix/bsd/vax/wait.S index 8b8da20..5316be2 100644 --- a/sysdeps/unix/bsd/vax/wait.S +++ b/sysdeps/unix/bsd/vax/wait.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992 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,7 +18,7 @@ Cambridge, MA 02139, USA. */ #include -SYSCALL__ (wait) +SYSCALL__ (wait, 1) movl 4(ap), r2 beq 1f movl r1, (r2) diff --git a/sysdeps/unix/bsd/vax/wait3.S b/sysdeps/unix/bsd/vax/wait3.S index 0d6e94a..2e7ab13 100644 --- a/sysdeps/unix/bsd/vax/wait3.S +++ b/sysdeps/unix/bsd/vax/wait3.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992 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,8 +18,7 @@ Cambridge, MA 02139, USA. */ #include -.globl ___wait3 -___wait3: +ENTRY(___wait3) movel 8(ap), r1 movel 12(ap), r0 /* Set all condition codes to tell the kernel this is wait3. */ -- 2.7.4