OSDN Git Service

* config.h (MPROTECT_VDB): Don't define on Linux.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jul 1999 19:27:56 +0000 (19:27 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Jul 1999 19:27:56 +0000 (19:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28179 138bc75d-0d04-0410-961f-82ee72b054a4

boehm-gc/ChangeLog
boehm-gc/config.h

index 40db8f3..5cea85f 100644 (file)
@@ -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.
index 89110a6..7791b6c 100644 (file)
        /* 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 */