gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.

1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.

From-SVN: r30364
This commit is contained in:
Bryce McKinlay 1999-11-03 03:04:52 +00:00 committed by Bryce McKinlay
parent 6457af891a
commit 765de7ea98
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
* gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1999-11-02 Tom Tromey <tromey@cygnus.com>
* quick_threads.c: Include gcconfig.h, not boehm-config.h.

View File

@ -713,7 +713,9 @@
/* with 2GB physical memory will usually move the user */
/* address space limit, and hence initial SP to 0x80000000. */
# if !defined(LINUX_THREADS) || !defined(REDIRECT_MALLOC)
# define MPROTECT_VDB
/* libgcj: Linux threads don't interact well with the read() wrapper.
Not defining MPROTECT_VDB fixes this. */
/* # define MPROTECT_VDB */
# else
/* We seem to get random errors in incremental mode, */
/* possibly because Linux threads is itself a malloc client */