9c74027a7b
To prepare for linker script creation with flexible number of linker passes depending on system configuration then the Zephyr CMake linker script generator has been updated to use pass names instead of pass numbers. This allows greater flexibility as a section can now be active based on the settings on the pass and not the linking pass index number. As part of this, the `PASS` processing in `linker_script_common.cmake` has been adjusted so that it properly handles when a linking pass is handling multiple settings, such as both `LINKER_APP_SMEM_UNALIGNED` and `DEVICE_HANDLES_PASS1` in same linking pass. As the number of linking passes are more flexible, then the PASS argument in `zephyr_linker_section()` and `zephyr_linker_section_configure()` has been updated to also support a `NOT <name>` argument, for example: `PASS NOT LINKER_ZEPHYR_FINAL`. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no> |
||
---|---|---|
.. | ||
arcmwdt | ||
armlink | ||
ld | ||
lld | ||
linker_flags_template.cmake | ||
linker_script_common.cmake |