x86/vdso: Remove -nostdlib compiler flag
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 7 Nov 2021 16:26:40 +0000 (01:26 +0900)
committerBorislav Petkov <bp@suse.de>
Thu, 30 Dec 2021 13:08:20 +0000 (14:08 +0100)
commita41f5b78ac5ba65986b31ddc6325a0b8cc8b8864
tree48f29c57e65dadfb4601cf58f96959a2e7c14940
parentfc74e0a40e4f9fd0468e34045b0c45bba11dcbb2
x86/vdso: 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.

Since

  379d98ddf413 ("x86: vdso: Use $LD instead of $CC to link")

$(LD) is directly used, 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-1-masahiroy@kernel.org
arch/x86/entry/vdso/Makefile