diff options
author | Mike Frysinger <vapier@chromium.org> | 2015-04-16 03:39:26 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-04-30 14:04:08 +0900 |
commit | 4a837c9a19f9d5f07778906c6fe64d429d7c1ed7 (patch) | |
tree | dc90e23efd99be61828098f5e8618b885c140026 /purgatory/printf.c | |
parent | 458e81576530d47a1b0abd734645635e5691000d (diff) |
purgatory: force PIC/PIE/SSP off
If the toolchain has these things turned on automatically, then the
purgatory code might be miscompiled leading to runtime errors like:
Unhandled rela relocation: R_X86_64_GOTPC64
It might look like the problem is with the kernel when in reality,
kexec is complaining about the purgatory module. Force off harden
features that don't make sense in kernel space.
Signed-off-by: Mike Frysinger <vapier@chromium.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory/printf.c')
0 files changed, 0 insertions, 0 deletions