mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-04 16:25:34 +00:00
![]() In preparation for adding --orphan-handling=warn to more architectures, disable -mbranch-protection, as EFI does not yet support it[1]. This was noticed due to it producing unwanted .note.gnu.property sections (prefixed with .init due to the objcopy build step). However, we must also work around a bug in Clang where the section is still emitted for code-less object files[2], so also remove the section during the objcopy. [1] https://lore.kernel.org/lkml/CAMj1kXHck12juGi=E=P4hWP_8vQhQ+-x3vBMc3TGeRWdQ-XkxQ@mail.gmail.com [2] https://bugs.llvm.org/show_bug.cgi?id=46480 Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20200821194310.3089815-8-keescook@chromium.org |
||
---|---|---|
.. | ||
alignedmem.c | ||
arm32-stub.c | ||
arm64-stub.c | ||
efi-stub-helper.c | ||
efi-stub.c | ||
efistub.h | ||
fdt.c | ||
file.c | ||
gop.c | ||
Makefile | ||
mem.c | ||
pci.c | ||
random.c | ||
randomalloc.c | ||
relocate.c | ||
secureboot.c | ||
skip_spaces.c | ||
string.c | ||
tpm.c | ||
vsprintf.c | ||
x86-stub.c |