zephyr/cmake/compiler/gcc
Stephanos Ioannidis dc3c9f3560 arch: riscv: Introduce code model options
This commit introduces a new Kconfig choice for configuring the code model
used for compilation.

All three code models specified by the RISC-V ELF psABI specification are
supported: medlow, medany and large.

For RV32, the `medlow` code model is always selected.
For RV64, the `large` code model is selected if the SRAM or kernel VM base
address is greater than or equal to 4 GiB; otherwise, the `medany` code
model is selected.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2025-07-19 15:43:09 -04:00
..
compiler_flags.cmake cmake: Add a new no_deprecation_warning compiler flag 2025-06-23 12:38:07 -07:00
generic.cmake cmake/compiler/: drop ERROR_QUIET when looking for compiler --version 2023-12-04 16:38:08 +00:00
target_arc.cmake llext: arc: enforce bitness match 2025-02-05 21:01:01 +01:00
target_arm64.cmake llext: build with debug info, strip at packaging time 2025-01-27 08:54:44 +01:00
target_arm.cmake llext: build with debug info, strip at packaging time 2025-01-27 08:54:44 +01:00
target_mips.cmake
target_riscv.cmake arch: riscv: Introduce code model options 2025-07-19 15:43:09 -04:00
target_rx.cmake compiler/gcc: Add rx compiler flags to linker too 2025-06-26 14:07:03 +02:00
target_sparc.cmake
target_x86.cmake llext: basic x86 support 2025-05-21 19:57:20 +02:00
target_xtensa.cmake llext: build with debug info, strip at packaging time 2025-01-27 08:54:44 +01:00
target.cmake cmake: Add Renesas RX support 2025-05-02 09:18:16 +02:00