[PATCH] purgatory: Disabling GCC's stack protection

Simon Horman horms at verge.net.au
Wed Apr 29 21:39:51 PDT 2015


Hi Kevin,

On Tue, Apr 28, 2015 at 08:50:19PM +0800, Kevin Hao wrote:
> 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 at windriver.com>

This seems like a reasonable change to me, however, it does
not apply cleanly to the kexec tree on kernel.org which I maintain.

https://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git

Could you rebase and repost?



More information about the kexec mailing list