zephyr/cmake/linker/ld
Daniel Leung 04fd862f68 linker: ld: GNULD_LINKER_IS_BFD to indicate if ld.bfd is used
This adds a new output variable to FindGnuLd.cmake to indicate
if ld.bfd is found. Since we now ask the compilers for their
preferred ld.bfd linker, it may not match using the existing
string equal test to ${CROSS_COMPILE}ld.bfd. So set the new
variable GNULD_LINKER_IS_BFD to true if ld.bfd, and use it to
pass an extra argument to compiler to make it use ld.bfd.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2023-03-29 19:48:47 -04:00
..
clang
gcc
host-gcc
ld_script.cmake
linker_flags.cmake
target.cmake linker: ld: GNULD_LINKER_IS_BFD to indicate if ld.bfd is used 2023-03-29 19:48:47 -04:00
target_baremetal.cmake
target_base.cmake linker: llvm: provide a default config file for clang 2023-03-29 19:48:47 -04:00
target_configure.cmake
target_cpp.cmake
target_relocation.cmake