From b3b04faadb6783b6238a05eded75bb0bc8a0f9eb Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Tue, 3 Nov 2020 13:02:27 +0100 Subject: [PATCH] cpu/fe310: add XFA support --- cpu/riscv_common/ldscripts/riscv_base.ld | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/riscv_common/ldscripts/riscv_base.ld b/cpu/riscv_common/ldscripts/riscv_base.ld index 44b62ac855..906b2b16e8 100644 --- a/cpu/riscv_common/ldscripts/riscv_base.ld +++ b/cpu/riscv_common/ldscripts/riscv_base.ld @@ -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);