zephyr/cmake/linker
Björn Bergman f70e72ae69 toolchain: iar: Fixes for iar linker generator
I have found a number of problems that shows up for CONFIG_USERSPACE,
but may ake effect even without it.

 * Output the x_init block even if x dont have any content. This is
   rather common if you have sections guarded with PASS.
 * Put KEEP on init-blocks. To circumvent peculiarities in ilink,
   the _init blocks (as well as their content) needs to be tagged
   with keep.
 * Handle noinit linker sections. zephyr_linker_section( NOINIT )
   has been ignored so far. This change fixes that and puts it as
   do not initialize { }

Signed-off-by: Björn Bergman <bjorn.bergman@iar.com>
2025-02-26 15:06:15 +01:00
..
arcmwdt cmake: extensions: use INTERFACE_SOURCES as property for code relocation 2024-11-16 13:35:36 -05:00
armlink device: export CMake pre-load from device subsystem enumeration script 2024-11-27 08:15:22 +01:00
iar toolchain: iar: Fixes for iar linker generator 2025-02-26 15:06:15 +01:00
ld Revert "cmake: remove enforcement of DWARF v4" 2024-12-20 16:05:23 +01:00
lld cmake: lld: Remove duplicate -fuse-ld=lld 2024-11-16 15:56:42 -05:00
xt-ld cmake: set minimal C++ linker properties in minimal C++ CMake impl 2024-11-16 15:28:20 -05:00
linker_flags_template.cmake cmake: move specs compiler and linker flags to toolchain properties 2024-10-04 16:34:35 +01:00
linker_libraries_native.cmake cmake: source dedicated linker library properties for native builds 2024-11-16 15:28:20 -05:00
linker_libraries_template.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
linker_script_common.cmake device: export CMake pre-load from device subsystem enumeration script 2024-11-27 08:15:22 +01:00
target_template.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00