]> git.pld-linux.org Git - packages/glibc.git/blob - glibc-sparc-mman.h.patch
- added dirs for dz,km,mg messages
[packages/glibc.git] / glibc-sparc-mman.h.patch
1  2005-03-10  GOTO Masanori  <gotom@debian.or.jp>
2
3  * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and
4  MAP_NONBLOCK.
5  * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6  Correct MAP_GROWSDOWN value.
7
8 ===================================================================
9 RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sh/bits/mman.h,v
10 retrieving revision 1.3
11 retrieving revision 1.4
12 diff -u -r1.3 -r1.4
13 --- libc/sysdeps/unix/sysv/linux/sh/bits/mman.h 2003/09/25 16:39:37     1.3
14 +++ libc/sysdeps/unix/sysv/linux/sh/bits/mman.h 2005/03/13 09:35:02     1.4
15 @@ -1,5 +1,5 @@
16  /* Definitions for POSIX memory map interface.  Linux/SH version.
17 -   Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
18 +   Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
19     This file is part of the GNU C Library.
20  
21     The GNU C Library is free software; you can redistribute it and/or
22 @@ -61,6 +61,8 @@
23  # define MAP_EXECUTABLE        0x1000          /* Mark it as an executable.  */
24  # define MAP_LOCKED    0x2000          /* Lock the mapping.  */
25  # define MAP_NORESERVE 0x4000          /* Don't check for reservations.  */
26 +# define MAP_POPULATE  0x8000          /* Populate (prefault) pagetables.  */
27 +# define MAP_NONBLOCK  0x10000         /* Do not block on IO.  */
28  #endif
29  
30  /* Flags to `msync'.  */
31 ===================================================================
32 RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h,v
33 retrieving revision 1.7
34 retrieving revision 1.8
35 diff -u -r1.7 -r1.8
36 --- libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h      2003/09/25 16:39:37     1.7
37 +++ libc/sysdeps/unix/sysv/linux/sparc/bits/mman.h      2005/03/13 09:35:03     1.8
38 @@ -1,5 +1,5 @@
39  /* Definitions for POSIX memory map interface.  Linux/SPARC version.
40 -   Copyright (C) 1997, 1999, 2000, 2003 Free Software Foundation, Inc.
41 +   Copyright (C) 1997, 1999, 2000, 2003, 2005 Free Software Foundation, Inc.
42     This file is part of the GNU C Library.
43  
44     The GNU C Library is free software; you can redistribute it and/or
45 @@ -57,12 +57,14 @@
46  
47  /* These are Linux-specific.  */
48  #ifdef __USE_MISC
49 -# define MAP_GROWSDOWN 0x0100          /* Stack-like segment.  */
50 +# define MAP_GROWSDOWN 0x0200          /* Stack-like segment.  */
51  # define MAP_DENYWRITE 0x0800          /* ETXTBSY */
52  # define MAP_EXECUTABLE        0x1000          /* Mark it as an executable.  */
53  # define MAP_LOCKED    0x0100          /* Lock the mapping.  */
54  # define MAP_NORESERVE 0x0040          /* Don't check for reservations.  */
55  # define _MAP_NEW      0x80000000      /* Binary compatibility with SunOS.  */
56 +# define MAP_POPULATE  0x8000          /* Populate (prefault) pagetables.  */
57 +# define MAP_NONBLOCK  0x10000         /* Do not block on IO.  */
58  #endif
59  
60  /* Flags to `msync'.  */
This page took 0.248932 seconds and 3 git commands to generate.