zephyr/cmake/compiler/gcc
Guennadi Liakhovetski e2d8daae16 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: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
2024-11-16 15:28:00 -05:00
..
compiler_flags.cmake cmake: gcc/ld: Fix LTO warnings 2024-10-25 18:49:07 +01:00
generic.cmake cmake/compiler/: drop ERROR_QUIET when looking for compiler --version 2023-12-04 16:38:08 +00:00
target.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
target_arc.cmake llext: add support for arc 2024-11-16 15:08:51 -05:00
target_arm.cmake cmake: set big-endian flags to TOOLCHAIN_*_FLAGS 2024-09-19 03:30:14 -04:00
target_arm64.cmake llext: Introduce AARCH64 relocation support 2024-09-12 14:48:55 +02:00
target_mips.cmake cmake: add MIPS support 2022-01-19 13:48:21 -05:00
target_riscv.cmake llext: Add RISC-V arch-specific relocations 2024-10-03 21:59:42 +01:00
target_sparc.cmake SPARC: add FPU support 2020-12-04 14:33:43 +02:00
target_x86.cmake x86: enable soft float support for Zephyr SDK 2021-01-20 16:45:31 -05:00
target_xtensa.cmake LLEXT: Xtensa: add a Kconfig option to enable -fPIC 2024-11-16 15:28:00 -05:00