]> granicus.if.org Git - gc/commitdiff
Default to use libc_stack_end in single-threaded GC on glibc targets
authorLudovic Courtes <ludo@gnu.org>
Wed, 22 May 2013 21:16:46 +0000 (01:16 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 22 May 2013 21:16:46 +0000 (01:16 +0400)
* include/private/gcconfig.h (USE_LIBC_PRIVATES): Define for glibc
(unless DONT_USE_LIBC_PRIVATES is defined).

include/private/gcconfig.h

index e017c4bb7b01b4379cae4e90b4fbf21b704477bc..36e19edf9f1f206b04e23bc3e2280e4676bc6fb1 100644 (file)
 #   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  */