riscv: add support for canaries

Kobject test area size must be increased if canary feature
is enabled.

Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
This commit is contained in:
Alexandre Mergnat 2020-10-29 19:20:06 +01:00 committed by Anas Nashif
commit 4b97619b19

View file

@ -244,6 +244,7 @@ config KOBJECT_TEXT_AREA
int "Size if kobject text area"
default 512 if COVERAGE_GCOV
default 512 if NO_OPTIMIZATIONS
default 512 if STACK_CANARIES && RISCV
default 256
depends on ARCH_HAS_USERSPACE
help