Skip to content
Commit e2d8daae authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Anas Nashif
Browse files

LLEXT: Xtensa: add a Kconfig option to enable -fPIC



Currently when building LLEXT for Xtensa we use the -fPIC compiler
option, but this cannot be used when using detached sections in
extensions. Add a Kconfig option to switch between the two
compilation modes and switch -fPIC off when building relocatable
(partially linked) ELF binaries.

Signed-off-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
parent 4f0cb90c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment