FROMLIST: x86/boot/compressed: Get rid of GOT fixup code
In a previous patch, we have eliminated GOT entries from the decompressor binary and added an assertion that the .got section is empty. This means that the GOT fixup routines that exist in both the 32-bit and 64-bit startup routines have become dead code, and can be removed. While at it, drop the KEEP() from the linker script, as it has no effect on the contents of output sections that are created by the linker itself. Reviewed-by:Kees Cook <keescook@chromium.org> Signed-off-by:
Ard Biesheuvel <ardb@kernel.org> Acked-by:
Arvind Sankar <nivedita@alum.mit.edu> Signed-off-by:
Arvind Sankar <nivedita@alum.mit.edu> From: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20200523120021.34996-4-ardb@kernel.org Bug: 167402429 Signed-off-by:
Alistair Delva <adelva@google.com> Change-Id: I9a0816e7166bb5af8e98ce1e79cb3f55c1cdae26
Loading
Please sign in to comment