shithub: scc

Download patch

ref: 1e3dd27b9b1dcd2c8f16a0f51effaade0e12c227
parent: 1213937bfa73b0303bd50faafcc99bf759716b4e
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Sep 10 13:23:08 EDT 2017

[as] Fix returned value in section

--- a/as/emit.c
+++ b/as/emit.c
@@ -118,7 +118,7 @@
 		sec->next = headp;
 		sec->flags = SRELOC|SREAD|SWRITE|SFILE;
 	}
-	cursec = sec;
+	return cursec = sec;
 }
 
 void