summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/crt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/i386/crt0.c')
-rw-r--r--libc/sysdeps/linux/i386/crt0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/i386/crt0.c b/libc/sysdeps/linux/i386/crt0.c
index 6e39caa7c..8e55e5895 100644
--- a/libc/sysdeps/linux/i386/crt0.c
+++ b/libc/sysdeps/linux/i386/crt0.c
@@ -32,6 +32,7 @@ void _start(unsigned int first_arg)
argc = *(stack - 1);
argv = (char **) stack;
envp = (char **)stack + argc + 1;
+ volatile void (*mainp)(int argc,void *argv,void *envp) = main;
__uClibc_main(argc, argv, envp);
}