From df76cb2f1f1387681f27ba6fbd276c160440f2ac Mon Sep 17 00:00:00 2001 From: bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Wed, 3 Nov 1999 03:04:52 +0000 Subject: [PATCH] 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 --- boehm-gc/ChangeLog | 4 ++++ boehm-gc/gcconfig.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 80404ee850bf..b9505ae8b7a2 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 47219095f33d..384a46543f3b 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 */ -- GitLab