From: Thomas Schwinge Date: Wed, 30 Mar 2016 08:52:43 +0000 (+0200) Subject: [Hurd] Use mmap instead of sbrk X-Git-Tag: gc7_6_0~44^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28b4819c6dcfc55233a023a740744433625a81ff;p=gc [Hurd] Use mmap instead of sbrk * include/private/gcconfig.h [I386 && HURD]: Define USE_MMAP, USE_MMAP_ANON. --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index cbc4aaaf..760f8962 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -1552,6 +1552,10 @@ # define DATAEND ((ptr_t)(_end)) /* # define MPROTECT_VDB Not quite working yet? */ # define DYNAMIC_LOADING +# ifndef USE_MMAP +# define USE_MMAP +# endif +# define USE_MMAP_ANON # endif # ifdef DARWIN # define OS_TYPE "DARWIN"