Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 15 Nov 1999 00:13:42 +0000 (00:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 15 Nov 1999 00:13:42 +0000 (00:13 +0000)
1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
* sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
prototype.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
* sysdeps/powerpc/stackinfo.h: New file.

ChangeLog
sysdeps/powerpc/stackinfo.h [new file with mode: 0644]
sysdeps/unix/sysv/linux/powerpc/syscalls.list
sysdeps/unix/sysv/linux/setrlimit.c

index 93cc5f2..4552f66 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-11-14  Ulrich Drepper  <drepper@cygnus.com>
+
+       * sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
+       * sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
+       prototype.
+       * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
+       * sysdeps/powerpc/stackinfo.h: New file.
+
 1999-11-13  Roland McGrath  <roland@baalperazim.frob.com>
 
        * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to
diff --git a/sysdeps/powerpc/stackinfo.h b/sysdeps/powerpc/stackinfo.h
new file mode 100644 (file)
index 0000000..c631e84
--- /dev/null
@@ -0,0 +1,28 @@
+/* Copyright (C) 1999 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., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
+
+/* This file contains a bit of information about the stack allocation
+   of the processor.  */
+
+#ifndef _STACKINFO_H
+#define _STACKINFO_H   1
+
+/* On PPC the stack grows down.  */
+#define _STACK_GROWS_DOWN      1
+
+#endif /* stackinfo.h */
index c007f26..1d8df00 100644 (file)
@@ -22,6 +22,7 @@ s_pread64     pread64 pread           5       __syscall_pread
 s_ptrace       ptrace  ptrace          4       __syscall_ptrace
 s_pwrite64     pwrite64 pwrite         5       __syscall_pwrite
 s_reboot       reboot  reboot          3       __syscall_reboot
+s_setrlimit    setrlimit setrlimit     3       __syscall_setrlimit
 s_sigaction    sigaction sigaction     3       __syscall_sigaction
 s_sigpending   sigpending sigpending   1       __syscall_sigpending
 s_sigprocmask  sigprocmask sigprocmask 3       __syscall_sigprocmask
index 50506c3..9df9774 100644 (file)
@@ -25,6 +25,8 @@
 
 #include "kernel-features.h"
 
+extern int __syscall_setrlimit (unsigned int resource,
+                               const struct rlimit *rlimits);
 
 /* Linux 2.3.25 introduced a new system call since the types used for
    the limits are now unsigned.  */