diff options
author | Nicholas <nbnoll@eml.cc> | 2021-11-20 11:55:55 -0800 |
---|---|---|
committer | Nicholas <nbnoll@eml.cc> | 2021-11-20 12:34:01 -0800 |
commit | e97c8c469db0aa27985dab2879dc1f14905c7387 (patch) | |
tree | f10f7ed68f1ad5212eebb0985ef040c5e96235ba /sys/rt/boot.c | |
parent | a9bfe650038afea8b751175cac16f6027345e45f (diff) |
chore: simplify makefiles
Diffstat (limited to 'sys/rt/boot.c')
-rw-r--r-- | sys/rt/boot.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |