From: Ludovic Courtes Date: Wed, 22 May 2013 21:16:46 +0000 (+0400) Subject: Default to use libc_stack_end in single-threaded GC on glibc targets X-Git-Tag: gc7_4_0~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=14a5128999f6590969741e7e74a2eee4157ab0ad;p=gc Default to use libc_stack_end in single-threaded GC on glibc targets * include/private/gcconfig.h (USE_LIBC_PRIVATES): Define for glibc (unless DONT_USE_LIBC_PRIVATES is defined). --- diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index e017c4bb..36e19edf 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2369,6 +2369,11 @@ # endif # endif +#if defined(__GLIBC__) && !defined(DONT_USE_LIBC_PRIVATES) + /* Use glibc's stack-end marker. */ +# define USE_LIBC_PRIVATES +#endif + #if defined(LINUX_STACKBOTTOM) && defined(NO_PROC_STAT) \ && !defined(USE_LIBC_PRIVATES) /* This combination will fail, since we have no way to get */