View Bug Activity | Format For Printing
MIPS/Linux has now the option to be configured for different page sizes as supported by many MIPS processors starting from the R4000. For proper support a platform-specific getpagesize() implementation is required to make sure the page size as supplied in the auxiliary vector is always used. Here is the necessary change. 2005-07-04 Maciej W. Rozycki <macro@linux-mips.org> * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file to support variable page size for MIPS. This was originally reported for 2.3.2 -- see: "http://sourceware.org/ml/libc-alpha/2003-12/msg00159.html" for a reference. Since changes for dlopen() support for static executables have become more extensive since then, I'll send them separately. This change is sufficient for dynamically linked executables as well as for the static body of statically linked ones.
Created an attachment (id=540) glibc-2.3.4-mips-getpagesize.patch
Let's use the ia64 version directly without changes. Fix committed to CVS head.
Subject: Bug 1047 CVSROOT: /cvs/glibc Module name: libc Changes by: aj@sources.redhat.com 2005-09-16 13:13:01 Modified files: . : ChangeLog Added files: sysdeps/unix/sysv/linux/mips: getpagesize.c Log message: [BZ #1047] * sysdeps/unix/sysv/linux/mips/getpagesize.c: New file. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/mips/getpagesize.c.diff?cvsroot=glibc&r1=NONE&r2=1.1 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/ChangeLog.diff?cvsroot=glibc&r1=1.9526&r2=1.9527
Thanks -- that should work. Please note that the fix attached to bug #1048 is needed to complement this change.