summaryrefslogtreecommitdiff
path: root/nonstd/x86-64.s
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-02 13:12:59 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-02 13:12:59 -0500
commitaa2c7727b1ee7b3747681f6b78f9ef0d36beb749 (patch)
tree2d637999ffbf3661fa5ef2e6e93bf40bff13672f /nonstd/x86-64.s
parenta4bd7a9c848d024ecb9c2bd9af0facaec728ba30 (diff)
trim old nonstd
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