Skip to content
This repository was archived by the owner on Jan 24, 2022. It is now read-only.

Commit 04173cb

Browse files
authored
Fix __ebss not being placed after all .bss symbols
1 parent 2c56bfd commit 04173cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

link.x.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ SECTIONS
124124
. = ALIGN(4);
125125
__sbss = .;
126126
*(.bss .bss.*);
127-
. = ALIGN(4); /* 4-byte align the end (VMA) of this section */
128-
__ebss = .;
129127
} > RAM
128+
. = ALIGN(4); /* 4-byte align the end (VMA) of this section */
129+
__ebss = .;
130130

131131
/* ### .uninit */
132132
.uninit (NOLOAD) : ALIGN(4)

0 commit comments

Comments
 (0)