This commit is contained in:
yangjie11 2023-03-31 17:26:04 +08:00 committed by guo
parent 95e6b69b8e
commit df74a617f1
1 changed files with 7 additions and 4 deletions

View File

@ -6,12 +6,13 @@ SECTIONS
. = 0x20000000; . = 0x20000000;
. = ALIGN(4); . = ALIGN(4);
.text : .text :
{ {
*(.init) *(.init)
*(.vectors)
*(.text) *(.text)
*(.gnu.linkonce.t*) *(.gnu.linkonce.t*)
/* section information for finsh shell */ /* section information for finsh shell */
. = ALIGN(4); . = ALIGN(4);
__fsymtab_start = .; __fsymtab_start = .;
@ -21,7 +22,7 @@ SECTIONS
__vsymtab_start = .; __vsymtab_start = .;
KEEP(*(VSymTab)) KEEP(*(VSymTab))
__vsymtab_end = .; __vsymtab_end = .;
. = ALIGN(4); . = ALIGN(4);
. = ALIGN(4); . = ALIGN(4);
__rt_init_start = .; __rt_init_start = .;
@ -74,11 +75,13 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
.nobss : { *(.nobss) } .nobss : { *(.nobss) }
. = ALIGN(4); . = ALIGN(4);
__bss_start__ = .; __bss_start__ = .;
__bss_start = .;
.bss : { *(.bss)} .bss : { *(.bss)}
__bss_end__ = .; __bss_end__ = .;
__bss_end = .;
/* stabs debugging sections. */ /* stabs debugging sections. */
.stab 0 : { *(.stab) } .stab 0 : { *(.stab) }