summaryrefslogtreecommitdiff
path: root/src/user/lib/crt0.c
diff options
context:
space:
mode:
authordzwdz2022-07-27 13:59:52 +0200
committerdzwdz2022-07-27 13:59:52 +0200
commitc77b0fa7916f79c099ee4a6a80a093334e9090ac (patch)
tree19eaedcecaa1584b83342853f1616975b50cad97 /src/user/lib/crt0.c
parent55b3a04e97b7ddd0db17a4fc3ba35461b106b92f (diff)
user/libc: execve() supports passing argv now
Diffstat (limited to 'src/user/lib/crt0.c')
-rw-r--r--src/user/lib/crt0.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/user/lib/crt0.c b/src/user/lib/crt0.c
deleted file mode 100644
index 91bbb05..0000000
--- a/src/user/lib/crt0.c
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "elfload.h"
-#include <unistd.h>
-
-int main();
-
-__attribute__((__weak__))
-void _start(void) {
- elf_selfreloc();
- exit(main());
-}