Make data sections not executable
This commit is contained in:
@@ -12,7 +12,9 @@ SECTIONS {
|
||||
KEEP(*(.text.boot));
|
||||
*(.text .text.*);
|
||||
} :text
|
||||
PROVIDE(estart = .);
|
||||
|
||||
. = ALIGN(CONSTANT(MAXPAGESIZE));
|
||||
PROVIDE(etext = .);
|
||||
|
||||
.rodata : ALIGN(16) {
|
||||
*(.rodata .rodata.*);
|
||||
|
Reference in New Issue
Block a user