shithub: scc

Download patch

ref: 1b44445ebf8d0a79f5542fd7fdf1f333a00500bb
parent: 2a5dae50192188d178abf6a81fd06f67ff9646b0
author: Quentin Rameau <quinq@fifth.space>
date: Tue Jun 7 10:19:56 EDT 2016

[driver] add support for .o input files

--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -244,6 +244,8 @@
 			return QBE;
 		if (!strcmp(dot, ".as"))
 			return AS;
+		if (!strcmp(dot, ".o"))
+			return LD;
 	}
 
 	die("scc: do not recognize filetype of %s", file);