This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 1047
  MIPS getpagesize() support for variable page sizes Last modified: 2005-10-24 15:03:19
     Query page      Enter new bug
Bug#: 1047   Hardware:   Reporter: Maciej W. Rozycki <macro@linux-mips.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: GOTO Masanori <gotom@debian.or.jp>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
glibc-2.3.4-mips-getpagesize.patch glibc-2.3.4-mips-getpagesize.patch patch 2005-07-04 15:17 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1047 depends on: Show dependency tree
Show dependency graph
Bug 1047 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2005-07-04 15:16
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.

------- Additional Comment #1 From Maciej W. Rozycki 2005-07-04 15:17 -------
Created an attachment (id=540)
glibc-2.3.4-mips-getpagesize.patch

------- Additional Comment #2 From Andreas Jaeger 2005-09-16 13:12 -------
Let's use the ia64 version directly without changes.

Fix committed to CVS head.

------- Additional Comment #3 From cvs-commit@gcc.gnu.org 2005-09-16 13:13 -------
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


------- Additional Comment #4 From Maciej W. Rozycki 2005-10-24 15:03 -------
 Thanks -- that should work.  Please note that the fix attached to bug #1048
is needed to complement this change.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In