04fd862f68
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> |
||
---|---|---|
.. | ||
arcmwdt | ||
armlink | ||
ld | ||
lld | ||
xt-ld | ||
linker_flags_template.cmake | ||
linker_script_common.cmake |