aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@cygnus.com>1999-07-19 19:23:29 +0000
committerTom Tromey <tromey@gcc.gnu.org>1999-07-19 19:23:29 +0000
commit0f536833c0e880d99ca6b7c7679278ec4c0d91d5 (patch)
treebe7cc3467bd3d8a741d41760bb29c5dec2f8722c
parent01eb11b8a6e025c0cc6701a9d641e8e25f67a5ea (diff)
downloadgcc-0f536833c0e880d99ca6b7c7679278ec4c0d91d5.zip
gcc-0f536833c0e880d99ca6b7c7679278ec4c0d91d5.tar.gz
gcc-0f536833c0e880d99ca6b7c7679278ec4c0d91d5.tar.bz2
* config.h (MPROTECT_VDB): Don't define on Linux.
From-SVN: r28177
-rw-r--r--boehm-gc/ChangeLog4
-rw-r--r--boehm-gc/config.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 40db8f3..5cea85f 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-19 Tom Tromey <tromey@cygnus.com>
+
+ * config.h (MPROTECT_VDB): Don't define on Linux.
+
1999-07-19 Alexandre Oliva <oliva@dcc.unicamp.br>
* Makefile.am (.s.lo): Avoid `#line' directives.
diff --git a/boehm-gc/config.h b/boehm-gc/config.h
index 89110a6b..7791b6c 100644
--- a/boehm-gc/config.h
+++ b/boehm-gc/config.h
@@ -590,7 +590,10 @@
/* Appears to be 0xe0000000 for at least one 2.1.91 kernel. */
/* Probably needs to be more flexible, but I don't yet */
/* fully understand how flexible. */
-# define MPROTECT_VDB
+
+ /* Linux threads don't interact well with the read() wrapper.
+ Not defining MPROTECT_VDB fixes this. */
+ /* # define MPROTECT_VDB*/
# ifdef __ELF__
# define DYNAMIC_LOADING
# ifdef UNDEFINED /* includes ro data */