summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/i386/syscall.s1
-rw-r--r--src/internal/x86_64/syscall.s1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/i386/syscall.s b/src/internal/i386/syscall.s
index 083db1ce..327d4cc0 100644
--- a/src/internal/i386/syscall.s
+++ b/src/internal/i386/syscall.s
@@ -1,4 +1,5 @@
.global __syscall
+.type __syscall,@function
__syscall:
pushl %ebx
pushl %esi
diff --git a/src/internal/x86_64/syscall.s b/src/internal/x86_64/syscall.s
index 931f44f6..6e0db09c 100644
--- a/src/internal/x86_64/syscall.s
+++ b/src/internal/x86_64/syscall.s
@@ -1,4 +1,5 @@
.global __syscall
+.type __syscall,@function
__syscall:
movq %rdi,%rax
movq %rsi,%rdi