Skip to content

Commit 02e36e2

Browse files
committed
Make sure .heap is 4-byte aligned
1 parent 4038a13 commit 02e36e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

riscv-rt/link.x.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ SECTIONS
168168
__ebss = .;
169169

170170
/* fictitious region that represents the memory available for the heap */
171-
.heap (NOLOAD) :
171+
.heap (NOLOAD) : ALIGN(4)
172172
{
173173
__sheap = .;
174174
. += _heap_size;

0 commit comments

Comments
 (0)