]> granicus.if.org Git - gc/commitdiff
[Hurd] Use mmap instead of sbrk
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 30 Mar 2016 08:52:43 +0000 (10:52 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Wed, 30 Mar 2016 08:52:43 +0000 (10:52 +0200)
* include/private/gcconfig.h [I386 && HURD]: Define USE_MMAP, USE_MMAP_ANON.

include/private/gcconfig.h

index cbc4aaafbee937a32525f0a0b05312e0c31792ef..760f89626956f070fcbaec6b2cc78f9e14f7e60b 100644 (file)
 #     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"