summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-03 03:04:52 +0000
committerbryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4>1999-11-03 03:04:52 +0000
commitdf76cb2f1f1387681f27ba6fbd276c160440f2ac (patch)
tree0d98a654e706a0ae2d436c9408c98cb95b7b81aa /boehm-gc
parenta2f90f26e37b67517de6e5cae64e72f86a52b465 (diff)
downloadgcc-df76cb2f1f1387681f27ba6fbd276c160440f2ac.tar.gz
1999-11-02 Bryce McKinlay <bryce@albatross.co.nz>
* gcconfig.h: Don't define MPROTECT_VDB on Linux/i386. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30364 138bc75d-0d04-0410-961f-82ee72b054a4
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 80404ee850b..b9505ae8b7a 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 47219095f33..384a46543f3 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 */