summaryrefslogtreecommitdiff
path: root/nonstd/x86-64.s
diff options
context:
space:
mode:
Diffstat (limited to 'nonstd/x86-64.s')
-rw-r--r--nonstd/x86-64.s19
1 files changed, 0 insertions, 19 deletions
diff --git a/nonstd/x86-64.s b/nonstd/x86-64.s
deleted file mode 100644
index 92d6a2d1..00000000
--- a/nonstd/x86-64.s
+++ /dev/null
@@ -1,19 +0,0 @@
-.global __syscall_x86_64
-__syscall_x86_64:
- mov %rdi, %rax
- mov %rsi, %rdi
- mov %rdx, %rsi
- mov %rcx, %rdx
- mov %r8, %r10
- mov %r9, %r8
- mov 8(%rsp), %r9
- syscall
- ret
-
-/* FIXME: this seems to be unpossible to put in a shared library */
-/* FIXME: it may be worthwhile to separate this into crt1.s */
-.global _start
-_start:
- popq %rdi
- movq %rsp, %rsi
- call __libc_start