Re: Glibc 2.3 pre-releases
Hi,
On Thu, Sep 12, 2002 at 10:23:07AM +0200, Guido Guenther wrote:
> [1] __syscall_readahead is also undefined, I'm currently testing a patch
> for this.
Here's a dpatch to resolve this. I sent this to Andreas Jaeger who
already applied it to glibc cvs. This makes 2.2.93 buildable on mips.
Regards,
-- Guido
#! /bin/sh -e
# DP: add readahead to syscall-list for mips
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -d "$2" -f --no-backup-if-mismatch -p0 < $0;;
-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
esac
exit 0
--- sysdeps/unix/sysv/linux/mips/syscalls.list.orig Thu Sep 12 10:23:05 2002
+++ sysdeps/unix/sysv/linux/mips/syscalls.list Thu Sep 12 10:21:07 2002
@@ -41,6 +41,7 @@
sys_mknod xmknod mknod i:sii __syscall_mknod
# System calls with wrappers.
+s_readahead EXTRA readahead i:iipi __syscall_readahead
rt_sigaction - rt_sigaction i:ippi __syscall_rt_sigaction
rt_sigpending - rt_sigpending i:pi __syscall_rt_sigpending
rt_sigprocmask - rt_sigprocmask i:ippi __syscall_rt_sigprocmask
Reply to: