The malloc arena needs to be aligned to a suitable size on Risc-V, and the Z_RISCV_STACK_GUARD_SIZE variable is a helpful proxy for what size that is. However, that is not always a power of two, so round it up to make the linker capable of performing the necessary allocation. Signed-off-by: Keith Packard <keithp@keithp.com> |
||
|---|---|---|
| .. | ||
| source | ||
| CMakeLists.txt | ||
| Kconfig | ||