mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-24 21:55:32 +08:00
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:
committed by
Kinsey Moore
parent
9a4f2904c0
commit
1d98a00710
@@ -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);
|
||||
|
||||
@@ -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} {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user