Re: [PATCH 2/3] x86, boot: Don't compile aslr.c when !CONFIG_RANDOMIZE_BASE

2014-03-10 Thread Kees Cook
On Mon, Mar 10, 2014 at 1:32 PM, Josh Triplett wrote: > All the code in aslr.c gets compiled out if !CONFIG_RANDOMIZE_BASE, but > aslr.o itself still gets compiled in. Eliminate it from the compile > entirely in that case. > > This does not change the generated code at all, in either case. > > Si

[PATCH 2/3] x86, boot: Don't compile aslr.c when !CONFIG_RANDOMIZE_BASE

2014-03-10 Thread Josh Triplett
All the code in aslr.c gets compiled out if !CONFIG_RANDOMIZE_BASE, but aslr.o itself still gets compiled in. Eliminate it from the compile entirely in that case. This does not change the generated code at all, in either case. Signed-off-by: Josh Triplett --- arch/x86/boot/compressed/Makefile