Fix data copy address error (#632)

* Fix data copy address error

Co-authored-by: Jinping Wu <jinping.wu@verisilicon.com>
This commit is contained in:
thomas-coding
2021-06-29 05:19:26 +08:00
committed by GitHub
parent ac5bf3b934
commit e66c4a93ee

View File

@ -56,7 +56,6 @@ SECTIONS
*(.rodata*)
. = ALIGN(4);
_etext = .;
_sidata = _etext;
} > FLASH
.ARM.extab :
@ -83,9 +82,10 @@ SECTIONS
. += M_VECTOR_RAM_SIZE;
. = ALIGN(4);
__interrupts_ram_end = .;
} > RAM
_sidata = LOADADDR(.data);
.data : /* AT ( _sidata ) */
{
. = ALIGN(4);