spec/bsps/riscv: Allow start section load address

This adds a new memory section load address for the start region.
This commit is contained in:
Kinsey Moore
2026-04-07 14:52:50 -05:00
committed by Kinsey Moore
parent 9a4f2904c0
commit 1d98a00710
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -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);
+1 -1
View File
@@ -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} {
+1
View File
@@ -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);