ref: 82841cb55548a8eca0d0cdb5a88ffc1ff0b76338
parent: 7541780143bee3d4fbb18f4d9c4fea2c29f1587a
author: Ori Bernstein <[email protected]>
date: Thu Sep 27 11:38:16 EDT 2012
Use the right syscall number to exit.
--- a/libstd/start-osx.s
+++ b/libstd/start-osx.s
@@ -6,6 +6,6 @@
call _main
/* exit */
movq %rax,%rdi
- movq $60,%rax
+ movq $0x2000001,%rax
syscall