Commit b88d1c98 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Alistair Delva
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
Acked-by: default avatarArvind Sankar <nivedita@alum.mit.edu>
Signed-off-by: default avatarArvind 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: default avatarAlistair Delva <adelva@google.com>
Change-Id: I9a0816e7166bb5af8e98ce1e79cb3f55c1cdae26
parent c3826e49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment