From e97c8c469db0aa27985dab2879dc1f14905c7387 Mon Sep 17 00:00:00 2001 From: Nicholas Date: Sat, 20 Nov 2021 11:55:55 -0800 Subject: chore: simplify makefiles --- sys/rt/boot.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/rt/boot.c') diff --git a/sys/rt/boot.c b/sys/rt/boot.c index 76f5599..320a596 100644 --- a/sys/rt/boot.c +++ b/sys/rt/boot.c @@ -4,6 +4,7 @@ /* tell linker to go find */ int __libc_start_main(int (*main)(int,char **,char **), int argc, char **argv); +void rt·guardstack(void); #define NAUX 38 static void @@ -19,6 +20,7 @@ rt·init(char **env, char *program) rt·context.sysinfo = aux[AT_SYSINFO]; rt·context.pagesize = aux[AT_PAGESZ]; + rt·guardstack(); } int -- cgit v1.2.1