diff options
author | Laurent Dufour <ldufour@linux.vnet.ibm.com> | 2014-04-08 16:44:45 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2014-04-10 08:05:55 +0900 |
commit | 7d33c8933ebf8e1788ffff0132b6e08a2388748c (patch) | |
tree | 8e26cc6b7116c9f099240b92b2cfd83f57ad6958 /kexec/add_buffer.c | |
parent | ec7f2473ac125902d38f5d30fb3ce36df0e5df83 (diff) |
ppc64/purgatory: Disabling GCC's stack protection
Some Linux distributions, like Suse, are turning on the GCC's stack
protection mechanism by default (-fstack-protector). When building the
purgatory with this option, this leads to link issues that are revealed at
runtime when the purgatory is loaded because symbols like __stack_chk_fail
are unresolved.
This patch forces this stack protection mechanism to be turned off when
building the purgatory on ppc64 BE and LE.
Signed-off-by: Laurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/add_buffer.c')
0 files changed, 0 insertions, 0 deletions