summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/__main.c5
-rw-r--r--src/__sys.x86-64.s21
2 files changed, 5 insertions, 21 deletions
diff --git a/src/__main.c b/src/__main.c
index 7e3cd95f..1cfb5119 100644
--- a/src/__main.c
+++ b/src/__main.c
@@ -1,3 +1,5 @@
+#if 0
+
#include <stdlib.h>
#include <stdio.h>
#include <locale.h>
@@ -27,3 +29,6 @@ void __main(int argc, char **argv)
}
void __stack_chk_fail(void) {}
+
+
+#endif
diff --git a/src/__sys.x86-64.s b/src/__sys.x86-64.s
index 48267a7e..e69de29b 100644
--- a/src/__sys.x86-64.s
+++ b/src/__sys.x86-64.s
@@ -1,21 +0,0 @@
-.global __syscall
-.type __syscall, %function
-__syscall:
- mov %rdi, %rax
- mov %rsi, %rdi
- mov %rdx, %rsi
- mov %rcx, %rdx
- mov %r8, %r10
- mov %r9, %r8
- mov 8(%rsp), %r9
- syscall
- ret
- .size __syscall,.-__syscall
-
-.global _start
-.type _start, %function
-_start:
- popq %rdi
- movq %rsp, %rsi
- call __main
- .size _start,.-_start