diff options
| author | yangjie11 <[email protected]> | 2023-03-31 17:26:04 +0800 |
|---|---|---|
| committer | guo <[email protected]> | 2023-03-31 17:51:00 +0800 |
| commit | df74a617f11039c7ba1e3d1ff9a5041eb10fea0f (patch) | |
| tree | 5fc57d074960e8f3b373f4ec0396baff014eef71 | |
| parent | 95e6b69b8e56f86ac8a6d6718a16d255527e87cf (diff) | |
fix #6594
| -rw-r--r-- | bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld b/bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld index 9e4397a69a..88dc5998fc 100644 --- a/bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld +++ b/bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld @@ -6,12 +6,13 @@ SECTIONS . = 0x20000000; . = ALIGN(4); - .text : + .text : { *(.init) + *(.vectors) *(.text) *(.gnu.linkonce.t*) - + /* section information for finsh shell */ . = ALIGN(4); __fsymtab_start = .; @@ -21,7 +22,7 @@ SECTIONS __vsymtab_start = .; KEEP(*(VSymTab)) __vsymtab_end = .; - . = ALIGN(4); + . = ALIGN(4); . = ALIGN(4); __rt_init_start = .; @@ -74,11 +75,13 @@ SECTIONS . = ALIGN(4); .nobss : { *(.nobss) } - + . = ALIGN(4); __bss_start__ = .; + __bss_start = .; .bss : { *(.bss)} __bss_end__ = .; + __bss_end = .; /* stabs debugging sections. */ .stab 0 : { *(.stab) } |
