ref: 448a5890b3ec77e741d881f02a199a941275883b
parent: f487eae6bc8746528822547f827094d273867006
author: Ori Bernstein <[email protected]>
date: Thu Sep 27 11:19:52 EDT 2012
Actually add the start file.
--- /dev/null
+++ b/libstd/start-linux.s
@@ -1,0 +1,11 @@
+.globl _start
+_start:
+ /* turn args into a slice */
+ /* TODO */
+ /* enter the main program */
+ call main
+ /* exit */
+ movq %rax,%rbx
+ movq $60,%rax
+ sysenter
+