userspace: Do not use --relax flag
In platforms where the linker is capable of doing global optimizations, like relaxing address mode and synthesize new instructions, Zephyr has to disable it when enabling USERSPACE since the build expects that address don't change after the first stage build. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
56ec06f344
commit
c896b1e911
1 changed files with 1 additions and 0 deletions
|
@ -274,6 +274,7 @@ config USERSPACE
|
|||
depends on RUNTIME_ERROR_CHECKS
|
||||
depends on SRAM_REGION_PERMISSIONS
|
||||
select THREAD_STACK_INFO
|
||||
select LINKER_USE_NO_RELAX
|
||||
help
|
||||
When enabled, threads may be created or dropped down to user mode,
|
||||
which has significantly restricted permissions and must interact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue