x86: fix ROM permissions

Only the text area now has execute permissions,
instead of both text and rodata.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2019-02-11 23:01:32 -08:00 committed by Andrew Boie
commit 5f4683db34
3 changed files with 16 additions and 6 deletions

View file

@ -186,9 +186,11 @@ extern char _image_ram_end[];
extern char _image_text_start[];
extern char _image_text_end[];
extern char _image_text_size[];
extern char _image_rodata_start[];
extern char _image_rodata_end[];
extern char _image_rodata_size[];
extern char _vector_start[];
extern char _vector_end[];