summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-19 19:27:56 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-19 19:27:56 +0000
commit6c260f13d49702f6b8f366cb5fec7eb6780e931f (patch)
tree6546180a5c358ef4a052db0650b5f7da8f83dbdf /boehm-gc
parent02b5b1dc5f89971c3ed183d8ca09f2146423006b (diff)
downloadgcc-6c260f13d49702f6b8f366cb5fec7eb6780e931f.tar.gz
* config.h (MPROTECT_VDB): Don't define on Linux.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28179 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-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 40db8f39f86..5cea85f7cf1 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 89110a6b824..7791b6cacb9 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 */