From bff6639c33bb5f6295b23085d8ad9e925310ee6a Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 1 Feb 2016 16:40:23 -0700 Subject: [PATCH] tcmode: define LDEMULATION_x86-64 Work around failure in 'perf' due to use of ld rather than gcc to link. JIRA: SB-6527 Signed-off-by: Christopher Larson --- conf/distro/include/tcmode-external-sourcery.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/distro/include/tcmode-external-sourcery.inc b/conf/distro/include/tcmode-external-sourcery.inc index bfaae8e..e7f6478 100644 --- a/conf/distro/include/tcmode-external-sourcery.inc +++ b/conf/distro/include/tcmode-external-sourcery.inc @@ -124,6 +124,7 @@ LDEMULATION = "" LDEMULATION_ENDIAN = "${@'bt' if 'bigendian' in '${TUNE_FEATURES}'.split() else 'lt'}" LDEMULATION_BITS = "${@'64' if 'n64' in '${TUNE_FEATURES}'.split() else '32'}" LDEMULATION_mips64 = "elf${LDEMULATION_BITS}${LDEMULATION_ENDIAN}smip${@bb.utils.contains('TUNE_FEATURES', 'n32', 'n32', '', d)}" +LDEMULATION_x86-64 = "elf_${TARGET_ARCH}" TUNE_LDARGS += "${@'-m ${LDEMULATION}' if '${LDEMULATION}' else ''}" # Ensure that the licensing variables are available to the toolchain.