Skip to content

Commit efc6d0a

Browse files
SebastianBoeandrewboie
authored andcommitted
kconfig: Increase the size of KOBJECT_TEXT_AREA when NO_OPTIMIZATION
Since #14545 was merged building with USERSPACE and NO_OPTIMIZATIONS has been broken due to #5226. To fix #5226 we increase the size of KOBJECT_TEXT_AREA when NO_OPTIMIZATIONS. Signed-off-by: Sebastian Bøe <[email protected]>
1 parent 350f6f7 commit efc6d0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ config PRIVILEGED_STACK_TEXT_AREA
200200
config KOBJECT_TEXT_AREA
201201
int "Size if kobject text area"
202202
default 512 if COVERAGE_GCOV
203+
default 512 if NO_OPTIMIZATIONS
203204
default 256
204205
depends on ARCH_HAS_USERSPACE
205206
help

0 commit comments

Comments
 (0)