ELD (“Embedded Linker”) is Qualcomm's open source, LLVM-based,
GNU-compatible linker. It can be selected as an alternative to LLD when
building Zephyr with the LLVM toolchain.
This change adds a CONFIG_LLVM_USE_ELD Kconfig option and the required
CMake integration to locate ld.eld and use it during linking. A minimum ELD
version is enforced (22.0+) to ensure required linker-script features are
available.
ELD repository: https://github.com/qualcomm/eld
ELD docs: https://qualcomm.github.io/eld/
Prebuilt ELD toolchain archives are published by the ELD nightly CI runs
eg: https://github.com/qualcomm/eld/actions/runs/21816037223
Signed-off-by: Adarsha Regmi <aregmi@qti.qualcomm.com>
ELD (“Embedded Linker”) is Qualcomm's open source, LLVM-based, GNU-compatible linker. It can be selected as an alternative to LLD when building Zephyr with the LLVM toolchain.
This change adds a CONFIG_LLVM_USE_ELD Kconfig option and the required CMake integration to locate ld.eld and use it during linking. A minimum ELD version is enforced (22.0+) to ensure required linker-script features are available.
ELD repository: https://github.com/qualcomm/eld
ELD docs: https://qualcomm.github.io/eld/
Prebuilt ELD toolchain archives are published by the ELD nightly CI runs eg: https://github.com/qualcomm/eld/actions/runs/21816037223