Skip to content

Commit

Permalink
Make sure .heap is 4-byte aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Dec 30, 2024
1 parent fe6da17 commit 2e9c3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riscv-rt/link.x.in
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ SECTIONS
__ebss = .;

/* fictitious region that represents the memory available for the heap */
.heap (NOLOAD) :
.heap (NOLOAD) : ALIGN(4)
{
__sheap = .;
. += _heap_size;
Expand Down

0 comments on commit 2e9c3ee

Please sign in to comment.