]> code.ossystems Code Review - openembedded-core.git/commit
kexec-tools: disable the GCC's stack protection for purgatory code
authorKevin Hao <kexin.hao@windriver.com>
Fri, 17 Jul 2015 02:58:32 +0000 (10:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 20 Jul 2015 09:39:01 +0000 (10:39 +0100)
commit466b0b2c572fb3201ca415b689ce7a950b8625a7
tree03792606118c1a37f6e944d811e26010a93a98e5
parent8683206f7ba85f693751415f896a0cc62931e3c4
kexec-tools: disable the GCC's stack protection for purgatory code

If the GCC's stack protection is enabled by default, the purgatory will
also be built with this option. But it makes no sense to enable this
for the purgatory code, and would cause error when we are trying to
relocate the purgatory codes because symbol like __stack_chk_fail is
unresolved. Instead of disabling this for some archs specifically,
disable it for all the archs.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/kexec/kexec-tools/0001-purgatory-Disabling-GCC-s-stack-protection.patch [new file with mode: 0644]
meta/recipes-kernel/kexec/kexec-tools_2.0.9.bb