aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include/gc_config.h.in
diff options
context:
space:
mode:
authorBryce McKinlay <mckinlay@redhat.com>2005-02-16 04:10:42 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2005-02-16 04:10:42 +0000
commit5909b0346cca73468ebde3e747bbe21453364a03 (patch)
tree314f8a11ca03d334447c50d10982b23142d3c8de /boehm-gc/include/gc_config.h.in
parent1dd8ce20fb5066513a09788b4bdc76b2d98b0ba2 (diff)
downloadgcc-5909b0346cca73468ebde3e747bbe21453364a03.zip
gcc-5909b0346cca73468ebde3e747bbe21453364a03.tar.gz
gcc-5909b0346cca73468ebde3e747bbe21453364a03.tar.bz2
re PR libgcj/19823 (java fails with non-executable memory)
2005-02-15 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/19823 * configure.host: Set gc_use_mmap on *-linux*. * configure.ac: Define USE_MMAP if gc_use_mmap is set. * include/private/gc_priv.h: Include gc_config.h. * configure, include/gc_config.h.in: Rebuilt. From-SVN: r95094
Diffstat (limited to 'boehm-gc/include/gc_config.h.in')
-rw-r--r--boehm-gc/include/gc_config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/boehm-gc/include/gc_config.h.in b/boehm-gc/include/gc_config.h.in
index 60ffb97..92f1b2c 100644
--- a/boehm-gc/include/gc_config.h.in
+++ b/boehm-gc/include/gc_config.h.in
@@ -145,6 +145,9 @@
/* define GC_local_malloc() & GC_local_malloc_atomic() */
#undef THREAD_LOCAL_ALLOC
+/* use MMAP instead of sbrk to get new memory */
+#undef USE_MMAP
+
/* POSIX version of C Source */
#undef _POSIX_C_SOURCE