Skip to content

Commit

Permalink
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpu/riscv_common/ldscripts/riscv_base.ld
Original file line number Diff line number Diff line change
@@ -61,6 +61,7 @@ SECTIONS
*(.rdata)
*(.rodata .rodata.*)
*(.gnu.linkonce.r.*)
KEEP (*(SORT(.roxfa.*)))
} >flash AT>flash :flash

. = ALIGN(4);
@@ -182,6 +183,7 @@ SECTIONS
*(.srodata.cst4)
*(.srodata.cst2)
*(.srodata .srodata.*)
KEEP (*(SORT(.xfa.*)))
} >ram AT>flash :ram_init

. = ALIGN(4);

0 comments on commit b3b04fa

Please sign in to comment.