shithub: scc

Download patch

ref: de09cc394bc133530b1e14bcb745eb48dc261829
parent: d0a1eae3c5e2d9b4fd2dd6d8727d882f24d4a4ef
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Mar 2 15:34:36 EST 2017

[crt] add amd64-linux crt

diff: cannot open b/crt/amd64-linux//null: file does not exist: 'b/crt/amd64-linux//null' diff: cannot open b/crt//null: file does not exist: 'b/crt//null'
--- /dev/null
+++ b/crt/amd64-linux/crt.as
@@ -1,0 +1,8 @@
+	.file	"crt.as"
+	.text
+	.global	_start
+
+_start:
+	call	$main
+	movl    %eax, %edi
+	call	$exit