]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0998f318d75e77bf3e02ff5014223e242307a3b
tree48f29c57e65dadfb4601cf58f96959a2e7c14940
parent7cc6dd0af4253d69f4447d6560edd0e7748296d3
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

  8b38e66246d0 ("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