4.104.114.84.95
Last change
on this file since bc51d7e9 was
bc51d7e9,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/13/01 at 13:23:37
|
2001-09-13 Joel Sherrill <joel@…>
- src/mprotect.c: New file. Stub required by some gcc's to pass tests.
In particular, about 350 ACATS tests fail if this is not present.
- src/getpagesize.c: Ditto.
- src/sysconf.c: Addition of Solaris value for _SC_STACK_PROT required
to pass about 350 ACATS test cases.
- src/Makefile.am: Added new files.
|
-
Property mode set to
100644
|
File size:
370 bytes
|
Rev | Line | |
---|
[bc51d7e9] | 1 | /* |
---|
| 2 | * $Id$ |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | #if HAVE_CONFIG_H |
---|
| 6 | #include "config.h" |
---|
| 7 | #endif |
---|
| 8 | |
---|
| 9 | #include <unistd.h> |
---|
| 10 | |
---|
| 11 | /*PAGE |
---|
| 12 | * |
---|
| 13 | * Get System Page Size (from SVR4 and 4.2+ BSD) |
---|
| 14 | * |
---|
| 15 | * This is not a functional version but the SPARC backend for at least |
---|
| 16 | * gcc 2.8.1 plus gnat 3.13p and gcc 3.0.1 require it to be there and |
---|
| 17 | * return a reasonable value. |
---|
| 18 | */ |
---|
| 19 | |
---|
| 20 | size_t getpagesize(void) |
---|
| 21 | { |
---|
| 22 | return 4096; |
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.