zephyr/cmake/compiler
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
..
arcmwdt cmake: Fix compilation options for kobject_hash*.c 2025-05-31 07:02:36 -04:00
armclang cmake: compiler: Remove -fshort-enums 2025-06-06 11:52:22 +02:00
clang cmake: clang: Enable -Waddress-of-packed-member 2025-06-27 18:28:09 -05:00
gcc arch: riscv: Introduce code model options 2025-07-19 15:43:09 -04:00
host-gcc
iar toolchain: compiler: IAR does not allow vla with C++ 2025-07-11 08:14:12 -10:00
icx
xcc cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
xt-clang cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
compiler_features.cmake
compiler_flags_template.cmake cmake: Add a new no_deprecation_warning compiler flag 2025-06-23 12:38:07 -07:00