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: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> |
||
---|---|---|
.. | ||
compiler_flags.cmake | ||
generic.cmake | ||
target.cmake | ||
target_arc.cmake | ||
target_arm.cmake | ||
target_arm64.cmake | ||
target_mips.cmake | ||
target_riscv.cmake | ||
target_sparc.cmake | ||
target_x86.cmake | ||
target_xtensa.cmake |