decompressor: Add rodata PHDR and section to ld script
This commit is contained in:
parent
ae7e86e0f0
commit
980423eb16
|
@ -5,6 +5,7 @@ ENTRY(_start)
|
|||
PHDRS
|
||||
{
|
||||
text PT_LOAD FLAGS((1 << 0) | (1 << 2)) ;
|
||||
rodata PT_LOAD FLAGS((1 << 2)) ;
|
||||
data PT_LOAD FLAGS((1 << 1) | (1 << 2)) ;
|
||||
}
|
||||
|
||||
|
@ -17,9 +18,12 @@ SECTIONS
|
|||
*(.text .text.*)
|
||||
} :text
|
||||
|
||||
.rodata : {
|
||||
*(.rodata .rodata.*)
|
||||
} :rodata
|
||||
|
||||
.data : {
|
||||
*(.data .data.*)
|
||||
*(.rodata .rodata.*)
|
||||
} :data
|
||||
|
||||
.bss : {
|
||||
|
|
Loading…
Reference in New Issue