]> xenbits.xensource.com Git - ovmf.git/commit
BaseTools: As with CLANGDWARF IA32 and X64, use lld for ARM and AARCH64
authorRebecca Cran <rebecca@bsdio.com>
Mon, 1 May 2023 13:50:37 +0000 (07:50 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 5 May 2023 11:41:35 +0000 (11:41 +0000)
commit4ef4b81c9b0eb25891f69beb4daf88fb2927f8c0
tree41588ec34e11c77696a25059b88109db1a8e0af6
parent98edce75fa65ba2d562aad1c4000d30e323e69b1
BaseTools: As with CLANGDWARF IA32 and X64, use lld for ARM and AARCH64

As with the IA32 and X64 CLANGDWARF toolchain definitions, use ld.lld
for ARM and AARCH64.

Add -Wl,--no-pie,--no-relax to the command line to fix linking when
using lld.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Tested-by: Michael D Kinney <michael.d.kinney@intel.com>
BaseTools/Conf/tools_def.template