mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
loader: mark sections as +X
It is unclear why this is required. More investigation is needed. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
4700275b93
commit
0c372263ff
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ impl MiniElf {
|
|||
if VDBG {println!(" Section @ {:08x}", section.virt as usize);}
|
||||
let flag_defaults = FLG_U
|
||||
| FLG_R
|
||||
| FLG_X
|
||||
| FLG_VALID
|
||||
| if section.flags() & 1 == 1 { FLG_W } else { 0 }
|
||||
| if section.flags() & 4 == 4 { FLG_X } else { 0 };
|
||||
|
|
|
|||
Loading…
Reference in a new issue