]> code.ossystems Code Review - openembedded-core.git/commit
kexec-tools: Set -fno-PIC on aarch64
authorMingli Yu <Mingli.Yu@windriver.com>
Thu, 10 May 2018 06:20:04 +0000 (23:20 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:31 +0000 (10:00 +0100)
commitd0971200ffe226ade76273ff73be4fa5511a2baa
tree6be2c1a72d740cc537685d6bf0e632a569c897c2
parentc5aa33ac483618bc23fbaccb0a18853186f9155d
kexec-tools: Set -fno-PIC on aarch64

As seen in GCC's gcc/config/aarch64/aarch64.c, -fPIC with large
code model is unsupported.  This fixes the "sorry, unimplemented"
errors when building with compilers defaulting to -fPIC.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/kexec/kexec-tools/0001-arm64-Set-fno-PIC-along-with-mcmodel-large.patch [new file with mode: 0644]
meta/recipes-kernel/kexec/kexec-tools_2.0.16.bb