aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-29 21:05:07 +0000
committerThomas Schwinge <tschwinge@gcc.gnu.org>2016-03-29 23:05:07 +0200
commitcf081cb66f8a0c77ee8cf4f3f158efd0140b613e (patch)
tree62a5dc97fff9a7a664468e41adb2c2279b458ba4 /boehm-gc/include
parent13f0e8c7e717552cdb56ed3d34bc3595cea3ba43 (diff)
downloadgcc-cf081cb66f8a0c77ee8cf4f3f158efd0140b613e.zip
gcc-cf081cb66f8a0c77ee8cf4f3f158efd0140b613e.tar.gz
gcc-cf081cb66f8a0c77ee8cf4f3f158efd0140b613e.tar.bz2
[Hurd, kFreeBSD] boehm-gc: Use mmap instead of brk
boehm-gc/ * configure.host: Set gc_use_mmap on *-kfreebsd-gnu* and *-gnu*. * include/private/gcconfig.h [HURD && USE_MMAP]: Define USE_MMAP_ANON. From-SVN: r234534
Diffstat (limited to 'boehm-gc/include')
-rw-r--r--boehm-gc/include/private/gcconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/boehm-gc/include/private/gcconfig.h b/boehm-gc/include/private/gcconfig.h
index aa81f15..44b9d7d 100644
--- a/boehm-gc/include/private/gcconfig.h
+++ b/boehm-gc/include/private/gcconfig.h
@@ -2137,7 +2137,7 @@
# endif
# endif
-#if defined(LINUX) && defined(USE_MMAP)
+#if (defined(LINUX) || defined(HURD)) && defined(USE_MMAP)
/* The kernel may do a somewhat better job merging mappings etc. */
/* with anonymous mappings. */
# define USE_MMAP_ANON