From 815b1481fcfb10ac33546c321cdece2f046fe020 Mon Sep 17 00:00:00 2001 From: belliash Date: Mon, 10 Jun 2019 20:06:25 +0200 Subject: [PATCH] Permit a discontiguous stack which is grown automatically as needed. The stack will have a guaranteed zone which is always available. The size of the guard area will be target specific. It will include enough stack space to actually allocate more stack space. Each function will have to verify that it has enough space in the current stack to execute. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0d6fe47..c557386 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS = -fPIC -Iinclude -I. -W -Wunused -Wall # Additional CFLAGS for debug build -DCFLAGS = -O0 -g3 +DCFLAGS = -O0 -g3 -fsplit-stack # Addditional CFLAGS for release build RCFLAGS = -O3 -s