We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5bf528a + 7dfda86 commit 118b9a7Copy full SHA for 118b9a7
cortex-m-rt/link.x.in
@@ -182,11 +182,12 @@ SECTIONS
182
__euninit = .;
183
} > RAM
184
185
- /* Place the heap right after `.uninit` in RAM */
186
- PROVIDE(__sheap = __euninit);
+ /* Align `__sheap` and `_stack_end` pointers to 4 bytes */
+ . = ALIGN(4);
187
188
- /* Place stack end at the end of allocated RAM */
189
- PROVIDE(_stack_end = __euninit);
+ /* Place the heap start and stack end at the end of allocated RAM */
+ PROVIDE(__sheap = .);
190
+ PROVIDE(_stack_end = .);
191
192
/* ## .got */
193
/* Dynamic relocations are unsupported. This section is only used to detect relocatable code in
0 commit comments