WSL2-Linux-Kernel/arch/x86/purgatory
Masahiro Yamada 9102fa3460 x86/purgatory: Remove -nostdlib compiler flag
The -nostdlib option requests the compiler to not use the standard
system startup files or libraries when linking. It is effective only
when $(CC) is used as a linker driver.

$(LD) is directly used for linking purgatory.{ro,chk} here, hence
-nostdlib is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20211107162641.324688-2-masahiroy@kernel.org
2021-12-30 14:13:06 +01:00
..
.gitignore x86/purgatory: Fail the build if purgatory.ro has missing symbols 2020-03-17 15:59:12 +01:00
Makefile x86/purgatory: Remove -nostdlib compiler flag 2021-12-30 14:13:06 +01:00
entry64.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00
purgatory.c kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
setup-x86_64.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00
stack.S x86/asm/purgatory: Start using annotations 2019-10-18 10:48:43 +02:00