summaryrefslogtreecommitdiff
path: root/lib/sys/syscall+openbsd-x64.s
diff options
context:
space:
mode:
authorAndrew Chambers <andrewchamberss@gmail.com>2016-01-16 22:54:05 +1300
committerOri Bernstein <ori@eigenstate.org>2016-05-08 17:20:43 +1200
commit95b8caa2f3679d450a19e9b62d8eacb70e51b073 (patch)
tree54e9938e411a56e147e347e49d1f39334108dcbf /lib/sys/syscall+openbsd-x64.s
parentd42a0a6a77f8baaa2e3e57e23aa495204e9f6642 (diff)
downloadmc-95b8caa2f3679d450a19e9b62d8eacb70e51b073.tar.gz
work on openbsd port
- fix start assembly - update syscall numbers to match openbsd - add openbsd note section
Diffstat (limited to 'lib/sys/syscall+openbsd-x64.s')
-rw-r--r--lib/sys/syscall+openbsd-x64.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys/syscall+openbsd-x64.s b/lib/sys/syscall+openbsd-x64.s
index 8e560c2..b9d0484 100644
--- a/lib/sys/syscall+openbsd-x64.s
+++ b/lib/sys/syscall+openbsd-x64.s
@@ -6,9 +6,9 @@ sys$syscall:
load junk values, but if the syscall
doesn't use them, it's going to be
harmless.
- */
+ */
movq %rdi,%rax
- /* 8(%rsp): hidden type arg */
+ /* 8(%rsp): hidden type arg */
movq 16(%rsp),%rdi
movq 24(%rsp),%rsi
movq 32(%rsp),%rdx