aboutsummaryrefslogtreecommitdiffstats
path: root/gc
diff options
context:
space:
mode:
Diffstat (limited to 'gc')
-rw-r--r--gc/include/private/gcconfig.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gc/include/private/gcconfig.h b/gc/include/private/gcconfig.h
index b995074..c3adaa2 100644
--- a/gc/include/private/gcconfig.h
+++ b/gc/include/private/gcconfig.h
@@ -1186,7 +1186,11 @@
# define DATASTART ((ptr_t)(__data_start))
# define ALIGNMENT 4
# define USE_GENERIC_PUSH_REGS
-# define LINUX_STACKBOTTOM
+# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2 || __GLIBC__ > 2
+# define LINUX_STACKBOTTOM
+# else
+# define STACKBOTTOM 0x80000000
+# endif
# endif /* Linux */
# ifdef EWS4800
# define HEURISTIC2