Skip to content

Commit df74a61

Browse files
yangjie11Guozhanxin
authored andcommitted
fix #6594
1 parent 95e6b69 commit df74a61

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

bsp/at91/at91sam9260/link_scripts/at91sam9260_ram.ld

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ SECTIONS
66
. = 0x20000000;
77

88
. = ALIGN(4);
9-
.text :
9+
.text :
1010
{
1111
*(.init)
12+
*(.vectors)
1213
*(.text)
1314
*(.gnu.linkonce.t*)
14-
15+
1516
/* section information for finsh shell */
1617
. = ALIGN(4);
1718
__fsymtab_start = .;
@@ -21,7 +22,7 @@ SECTIONS
2122
__vsymtab_start = .;
2223
KEEP(*(VSymTab))
2324
__vsymtab_end = .;
24-
. = ALIGN(4);
25+
. = ALIGN(4);
2526

2627
. = ALIGN(4);
2728
__rt_init_start = .;
@@ -74,11 +75,13 @@ SECTIONS
7475

7576
. = ALIGN(4);
7677
.nobss : { *(.nobss) }
77-
78+
7879
. = ALIGN(4);
7980
__bss_start__ = .;
81+
__bss_start = .;
8082
.bss : { *(.bss)}
8183
__bss_end__ = .;
84+
__bss_end = .;
8285

8386
/* stabs debugging sections. */
8487
.stab 0 : { *(.stab) }

0 commit comments

Comments
 (0)