aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@albatross.co.nz>1999-11-03 03:04:52 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>1999-11-03 03:04:52 +0000
commit765de7ea9802b252ed8d8bf5092fcd0e8bdbab6f (patch)
tree0d98a654e706a0ae2d436c9408c98cb95b7b81aa /boehm-gc
parent6457af891ab835edfbc5d82bfd62c619776dd887 (diff)
downloadgcc-765de7ea9802b252ed8d8bf5092fcd0e8bdbab6f.zip
gcc-765de7ea9802b252ed8d8bf5092fcd0e8bdbab6f.tar.gz
gcc-765de7ea9802b252ed8d8bf5092fcd0e8bdbab6f.tar.bz2
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
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/gcconfig.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 80404ee..b9505ae 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -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.
diff --git a/boehm-gc/gcconfig.h b/boehm-gc/gcconfig.h
index 4721909..384a465 100644
--- a/boehm-gc/gcconfig.h
+++ b/boehm-gc/gcconfig.h
@@ -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 */