Skip to content
Commit 3103f94c authored by Keith Packard's avatar Keith Packard Committed by Anas Nashif
Browse files

libc/common: Require at least double alignment for common malloc arena



arm, arc and riscv all have special cases for malloc arena alignment that
might be smaller than the minimum required for a C allocator. In
particular, the riscv value might actually be zero, which turns out to be
an invalid alignment value.

Make sure all of these have alignment that meets the C language
requirements for allocation alignment.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent 522624d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment