SOURCES: glibc-sparc-mman.h.patch (NEW) - update <bits/mman.h> on ...
qboosh
qboosh at pld-linux.org
Sun Dec 25 21:49:36 CET 2005
Author: qboosh Date: Sun Dec 25 20:49:36 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- update <bits/mman.h> on sparc (and sh)
---- Files affected:
SOURCES:
glibc-sparc-mman.h.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/glibc-sparc-mman.h.patch
diff -u /dev/null SOURCES/glibc-sparc-mman.h.patch:1.1
--- /dev/null Sun Dec 25 21:49:36 2005
+++ SOURCES/glibc-sparc-mman.h.patch Sun Dec 25 21:49:31 2005
@@ -0,0 +1,60 @@
+ 2005-03-10 GOTO Masanori <gotom at debian.or.jp>
+
+ * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
+ MAP_NONBLOCK.
+ * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
+ Correct MAP_GROWSDOWN value.
+
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sh/bits/mman.h,v
+retrieving revision 1.3
+retrieving revision 1.4
+diff -u -r1.3 -r1.4
+--- libc/sysdeps/unix/sysv/linux/sh/bits/mman.h 2003/09/25 16:39:37 1.3
++++ libc/sysdeps/unix/sysv/linux/sh/bits/mman.h 2005/03/13 09:35:02 1.4
+@@ -1,5 +1,5 @@
+ /* Definitions for POSIX memory map interface. Linux/SH version.
+- Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
++ Copyright (C) 1997, 1999, 2000, 2003, 2005 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
+@@ -61,6 +61,8 @@
+ # define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
+ # define MAP_LOCKED 0x2000 /* Lock the mapping. */
+ # define MAP_NORESERVE 0x4000 /* Don't check for reservations. */
++# define MAP_POPULATE 0x8000 /* Populate (prefault) pagetables. */
++# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
+ #endif
+
+ /* Flags to `msync'. */
+===================================================================
+RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h,v
+retrieving revision 1.7
+retrieving revision 1.8
+diff -u -r1.7 -r1.8
+--- libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h 2003/09/25 16:39:37 1.7
++++ libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h 2005/03/13 09:35:03 1.8
+@@ -1,5 +1,5 @@
+ /* Definitions for POSIX memory map interface. Linux/SPARC version.
+- Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
++ Copyright (C) 1997, 1999, 2000, 2003, 2005 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
+@@ -57,12 +57,14 @@
+
+ /* These are Linux-specific. */
+ #ifdef __USE_MISC
+-# define MAP_GROWSDOWN 0x0100 /* Stack-like segment. */
++# define MAP_GROWSDOWN 0x0200 /* Stack-like segment. */
+ # define MAP_DENYWRITE 0x0800 /* ETXTBSY */
+ # define MAP_EXECUTABLE 0x1000 /* Mark it as an executable. */
+ # define MAP_LOCKED 0x0100 /* Lock the mapping. */
+ # define MAP_NORESERVE 0x0040 /* Don't check for reservations. */
+ # define _MAP_NEW 0x80000000 /* Binary compatibility with SunOS. */
++# define MAP_POPULATE 0x8000 /* Populate (prefault) pagetables. */
++# define MAP_NONBLOCK 0x10000 /* Do not block on IO. */
+ #endif
+
+ /* Flags to `msync'. */
================================================================
More information about the pld-cvs-commit
mailing list