Can I assign logical address of v8m .gnu.sgstubs section on SRAM region?
Hi,
Can I assign logical address of v8m .gnu.sgstubs section on SRAM region?
When I configure linker script below, ld.exe will fail.
.gnu.sgstubs 0x2000fc00:
{
. = ALIGN(4);
_start_sg = .;
*(.gnu*)
. = ALIGN(4);
_end_sg = .;
}
c:/program files/gnu tools arm embedded/6.2 2016q4/
if I change 0x2000fc00 to flash address (say 0x3fc00), everything seems fine.
I just want to do something like .data section, put .sgstubs in physical flash address, and move them onto SRAM while booting.
.data :
{
. = ALIGN(4);
_sdata = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
_edata = .; /* define a global symbol at data end */
} >RAM AT> FLASH
But it seems to have limit to do so, could anyone give me some advice?
B.R.
Terry
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Preud'homme
- Solved:
- Last query:
- Last reply: