[oe-commits] Phil Blundell : kernel-arch: Always use ld.bfd to link the kernel
git at git.openembedded.org
git at git.openembedded.org
Sun Apr 28 11:08:38 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 5c8277610ae84740e0724b27f10dba3895d40c05
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5c8277610ae84740e0724b27f10dba3895d40c05
Author: Phil Blundell <pb at pbcl.net>
Date: Tue Apr 23 17:47:29 2013 +0100
kernel-arch: Always use ld.bfd to link the kernel
The kernel's penchant for custom linker scripts means that it doesn't
generally get on very well with gold. Make sure we are using the BFD
linker here no matter what the distro default is set to.
Signed-off-by: Phil Blundell <philb at gnu.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/classes/kernel-arch.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index b3b71ba..4a140eb 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -53,6 +53,6 @@ TARGET_AR_KERNEL_ARCH ?= ""
HOST_AR_KERNEL_ARCH ?= "${TARGET_AR_KERNEL_ARCH}"
KERNEL_CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_KERNEL_ARCH}"
-KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld ${HOST_LD_KERNEL_ARCH}"
+KERNEL_LD = "${CCACHE}${HOST_PREFIX}ld.bfd ${HOST_LD_KERNEL_ARCH}"
KERNEL_AR = "${CCACHE}${HOST_PREFIX}ar ${HOST_AR_KERNEL_ARCH}"
More information about the Openembedded-commits
mailing list