shithub: scc

Download patch

ref: 7a5f84aadb1fceda9f03fcebe3449f3ac0004f15
parent: 9bef6a793a84d5cb723d0c45fdd78e906e63dd98
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Sep 8 15:18:28 EDT 2017

[as] Remove useless SEXEC

The assembler or the linker don't worry about execution
rights.

--- a/as/as.h
+++ b/as/as.h
@@ -2,7 +2,6 @@
 	SRELOC,
 	SREAD,
 	SWRITE,
-	SEXEC,
 	SFILE,
 };
 
--- a/as/emit.c
+++ b/as/emit.c
@@ -20,7 +20,7 @@
 static Section text = {
 	.name = "text",
 	.next = &data,
-	.flags = SRELOC|SEXEC|SFILE
+	.flags = SRELOC|SFILE
 };
 
 Section *cursec = &text, *headp = &text;