Support data in the pico mode
This commit is contained in:
parent
ae54bb7b92
commit
e3705a5d5c
5
link.ld
5
link.ld
|
|
@ -4,12 +4,15 @@ SECTIONS {
|
|||
. = 4M;
|
||||
. = . + SIZEOF_HEADERS;
|
||||
.text : { *(.text) } :text
|
||||
.rodata : { *(.rodata) }
|
||||
.rodata : { *(.rodata) } :text
|
||||
. += 4K;
|
||||
.data : { *(.data) } :data
|
||||
. = ALIGN(4K);
|
||||
.bss : { *(COMMON) *(.bss) } :bss
|
||||
}
|
||||
|
||||
PHDRS {
|
||||
text PT_LOAD FILEHDR PHDRS FLAGS(5);
|
||||
data PT_LOAD FLAGS(6);
|
||||
bss PT_LOAD;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user