diff --git a/spec/build/bsps/riscv/linkcmds.yml b/spec/build/bsps/riscv/linkcmds.yml index 25588ac566..7b08651ad0 100644 --- a/spec/build/bsps/riscv/linkcmds.yml +++ b/spec/build/bsps/riscv/linkcmds.yml @@ -6,6 +6,7 @@ content: | } REGION_ALIAS ("REGION_START", RAM); + REGION_ALIAS ("REGION_START_LOAD", RAM); REGION_ALIAS ("REGION_TEXT", RAM); REGION_ALIAS ("REGION_TEXT_LOAD", RAM); REGION_ALIAS ("REGION_FAST_TEXT", RAM); diff --git a/spec/build/bsps/riscv/linkcmdsbase.yml b/spec/build/bsps/riscv/linkcmdsbase.yml index 87aee53f6c..9a410e4204 100644 --- a/spec/build/bsps/riscv/linkcmdsbase.yml +++ b/spec/build/bsps/riscv/linkcmdsbase.yml @@ -51,7 +51,7 @@ content: | KEEP (*(.bsp_start_text)) KEEP (*(.bsp_start_data)) bsp_section_start_end = .; - } > REGION_START AT > REGION_START + } > REGION_START AT > REGION_START_LOAD bsp_section_start_size = bsp_section_start_end - bsp_section_start_begin; .text : ${LINKCMDS_ALIGN_DIRECTIVE} { diff --git a/spec/build/bsps/riscv/niosv/linkcmds.yml b/spec/build/bsps/riscv/niosv/linkcmds.yml index ec2f0c9c34..9a2a6291e3 100644 --- a/spec/build/bsps/riscv/niosv/linkcmds.yml +++ b/spec/build/bsps/riscv/niosv/linkcmds.yml @@ -9,6 +9,7 @@ content: | } REGION_ALIAS ("REGION_START", EXT_RAM); + REGION_ALIAS ("REGION_START_LOAD", EXT_RAM); REGION_ALIAS ("REGION_TEXT", EXT_RAM); REGION_ALIAS ("REGION_TEXT_LOAD", EXT_RAM); REGION_ALIAS ("REGION_FAST_TEXT", EXT_RAM);