x86, relocs: Add more per-cpu gold special cases
authorMichael Davidson <md@google.com>
Fri, 11 Oct 2013 01:39:54 +0000 (18:39 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Sun, 13 Oct 2013 10:11:57 +0000 (03:11 -0700)
commitd751c169e9a6f0f853346f1184881422bd10b3c2
tree5accc76adaa004d6a7cbdd8d6efd2474fb3267eb
parentd0e639c9e06d44e713170031fe05fb60ebe680af
x86, relocs: Add more per-cpu gold special cases

The "gold" linker doesn't seem to put some additional per-cpu cases in
the right place. Add these to the per-cpu check. Without this, the kASLR
patch series fails to correctly apply relocations, and fails to boot.

Signed-off-by: Michael Davidson <md@google.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: http://lkml.kernel.org/r/20131011013954.GA28902@www.outflux.net
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/tools/relocs.c