mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
alloc: fix alignment for riscv32 arch
This commit is contained in:
parent
2213e7ffac
commit
b8ed5a0d91
@ -13,6 +13,7 @@ const MAGIC_BUSY: usize = 0xFEEDFEED;
|
||||
struct Header {
|
||||
magic: usize,
|
||||
size: usize,
|
||||
_pad: usize,
|
||||
next: *mut Header
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@ SECTIONS
|
||||
_fstack = . - 16;
|
||||
} > runtime
|
||||
|
||||
.heap (NOLOAD) :
|
||||
.heap (NOLOAD) : ALIGN(16)
|
||||
{
|
||||
_fheap = .;
|
||||
. = ORIGIN(runtime) + LENGTH(runtime);
|
||||
|
Loading…
Reference in New Issue
Block a user