Skip to content
Commit c1dc4a6f authored by Jim Shu's avatar Jim Shu Committed by Christopher Friedt
Browse files

riscv: linker: fix __rom_region_end in non-XIP system



In non-XIP system, because ROMABLE_REGION == RAMABLE_REGION, setting
__rom_region_size/end symbol at linker script end will mistakely
contain RAMABLE_REGION in it.

Move __rom_region_end symbol to end of common ROMABLE_REGION (text
and rodata) instead in non-XIP system.

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
parent 4a357852
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment