diff --git a/ChangeLog b/ChangeLog index 93cc5f24d0..4552f66a5f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +1999-11-14 Ulrich Drepper + + * 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 * 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 index 0000000000..c631e8425f --- /dev/null +++ b/sysdeps/powerpc/stackinfo.h @@ -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 */ diff --git a/sysdeps/unix/sysv/linux/powerpc/syscalls.list b/sysdeps/unix/sysv/linux/powerpc/syscalls.list index c007f26dea..1d8df00505 100644 --- a/sysdeps/unix/sysv/linux/powerpc/syscalls.list +++ b/sysdeps/unix/sysv/linux/powerpc/syscalls.list @@ -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 diff --git a/sysdeps/unix/sysv/linux/setrlimit.c b/sysdeps/unix/sysv/linux/setrlimit.c index 50506c3ad0..9df977447a 100644 --- a/sysdeps/unix/sysv/linux/setrlimit.c +++ b/sysdeps/unix/sysv/linux/setrlimit.c @@ -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. */