From 537fb24f7f426907582b6141901a2f0483d17e83 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 19:53:32 -0400 Subject: add type information to maybe someday provide a dynamic implementation --- src/__sys.x86-64.s | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/__sys.x86-64.s b/src/__sys.x86-64.s index 02fd3dbb..94b93d12 100644 --- a/src/__sys.x86-64.s +++ b/src/__sys.x86-64.s @@ -1,4 +1,5 @@ .global __syscall +.type __syscall, %function __syscall: mov %rdi, %rax mov %rsi, %rdi @@ -11,6 +12,7 @@ __syscall: ret .global _start +.type _start, %function _start: popq %rdi movq %rsp, %rsi -- cgit v1.2.1