summaryrefslogtreecommitdiff
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-08-19 10:44:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:43:27 +0100
commit5724e4d245f142ac6fb1ea211503fd220683354d (patch)
tree4b8c8e58fea6748c1fd3d5e50e36ae249142e0fb /meta/classes/testimage.bbclass
parent28f261cd7da53124a5aeb71e1f473cd473a33489 (diff)
downloadopenembedded-core-5724e4d245f142ac6fb1ea211503fd220683354d.tar.gz
openembedded-core-5724e4d245f142ac6fb1ea211503fd220683354d.tar.bz2
openembedded-core-5724e4d245f142ac6fb1ea211503fd220683354d.zip
kernel-arch: Force BFD kernel when using gcc for linking
We redefine LD to point to ld.bfd when building kernel, which works in most cases since kbuild system calls out for bare LD most of the time, however some of newer kernels e.g. 4.1+ have some code added which can call gcc directly to do the linking job e.g. arm vdso code This causes build failures when we have configured the default cross toolchain to use gold linker as default. Errors like BFD: arch/arm/vdso/vdso.so: Not enough room for program headers, try linking with -N | arm-angstrom-linux-gnueabi-objcopy:arch/arm/vdso/vdso.so[.hash]: Bad value start happening. With this patch we force gcc to choose bfd linker as well Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/testimage.bbclass')
0 files changed, 0 insertions, 0 deletions