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:
parent
f5ac11ae32
commit
4b97619b19
1 changed files with 1 additions and 0 deletions
|
@ -244,6 +244,7 @@ config KOBJECT_TEXT_AREA
|
||||||
int "Size if kobject text area"
|
int "Size if kobject text area"
|
||||||
default 512 if COVERAGE_GCOV
|
default 512 if COVERAGE_GCOV
|
||||||
default 512 if NO_OPTIMIZATIONS
|
default 512 if NO_OPTIMIZATIONS
|
||||||
|
default 512 if STACK_CANARIES && RISCV
|
||||||
default 256
|
default 256
|
||||||
depends on ARCH_HAS_USERSPACE
|
depends on ARCH_HAS_USERSPACE
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue