ref: 5d8b5ae1ef2dd2b2e33e2683968dc62ce25a3cac
parent: 8fe3cb063acd20ad53b0da4e27418050ed8a7125
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Dec 16 03:22:37 EST 2017
[as] Invert the meaning of LOAD and FILE bits It is better to have always the section in the file and loaded except when these bits are added.
--- a/as/symbol.c
+++ b/as/symbol.c
@@ -219,10 +219,10 @@
void
isecs(void)
{
- sabs = setsec(".abs", "rwxafl");
- sbss = setsec(".bss", "rwl");
- sdata = setsec(".data", "rwfl");
- stext = setsec(".text", "rxfl");
+ sabs = setsec(".abs", "rwx");
+ sbss = setsec(".bss", "rwf");
+ sdata = setsec(".data", "rw");
+ stext = setsec(".text", "rx");
}
void