commit e2a1c0856e8aa4c9d6d480ec574900d829cb54de
parent e8664d759323eb1ec776615a8806470f8e95b6d9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Fri, 8 Sep 2017 19:18:28 +0200
[as] Remove useless SEXEC
The assembler or the linker don't worry about execution
rights.
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/as/as.h b/as/as.h
@@ -2,7 +2,6 @@ enum secflags {
SRELOC,
SREAD,
SWRITE,
- SEXEC,
SFILE,
};
diff --git a/as/emit.c b/as/emit.c
@@ -20,7 +20,7 @@ static Section data = {
static Section text = {
.name = "text",
.next = &data,
- .flags = SRELOC|SEXEC|SFILE
+ .flags = SRELOC|SFILE
};
Section *cursec = &text, *headp = &text;