From 14a5128999f6590969741e7e74a2eee4157ab0ad Mon Sep 17 00:00:00 2001 From: Ludovic Courtes Date: Thu, 23 May 2013 01:16:46 +0400 Subject: [PATCH] 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). --- include/private/gcconfig.h | 5 +++++ 1 file changed, 5 insertions(+) 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 */ -- 2.40.0