fix encode err

This commit is contained in:
yelvlab 2024-09-22 15:37:04 +08:00
parent f3228690bf
commit 58a0bcc42c

View File

@ -34,7 +34,7 @@ SECTIONS
KEEP (*(.fini)) KEEP (*(.fini))
. = ALIGN(4); . = ALIGN(4);
/* the symbol <EFBFBD><EFBFBD>_etext<EFBFBD><EFBFBD> will be defined at the end of code section */ /* the symbol '_etext' will be defined at the end of code section */
_etext = .; _etext = .;
} >FLASH } >FLASH
@ -87,26 +87,26 @@ SECTIONS
.data : .data :
{ {
. = ALIGN(4); . = ALIGN(4);
/* the symbol <EFBFBD><EFBFBD>_sdata<EFBFBD><EFBFBD> will be defined at the data section end start */ /* the symbol '_sdata' will be defined at the data section end start */
_sdata = .; _sdata = .;
*(.data) *(.data)
*(.data*) *(.data*)
. = ALIGN(4); . = ALIGN(4);
/* the symbol <EFBFBD><EFBFBD>_edata<EFBFBD><EFBFBD> will be defined at the data section end */ /* the symbol '_edata' will be defined at the data section end */
_edata = .; _edata = .;
} >RAM AT> FLASH } >RAM AT> FLASH
. = ALIGN(4); . = ALIGN(4);
.bss : .bss :
{ {
/* the symbol <EFBFBD><EFBFBD>_sbss<EFBFBD><EFBFBD> will be defined at the bss section start */ /* the symbol '_sbss' will be defined at the bss section start */
_sbss = .; _sbss = .;
__bss_start__ = _sbss; __bss_start__ = _sbss;
*(.bss) *(.bss)
*(.bss*) *(.bss*)
*(COMMON) *(COMMON)
. = ALIGN(4); . = ALIGN(4);
/* the symbol <EFBFBD><EFBFBD>_ebss<EFBFBD><EFBFBD> will be defined at the bss section end */ /* the symbol '_ebss' will be defined at the bss section end */
_ebss = .; _ebss = .;
__bss_end__ = _ebss; __bss_end__ = _ebss;
} >RAM } >RAM