OSDN Git Service

arm64: vdso: remove -nostdlib compiler flag
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 7 Nov 2021 16:18:02 +0000 (01:18 +0900)
committerWill Deacon <will@kernel.org>
Mon, 8 Nov 2021 10:02:57 +0000 (10:02 +0000)
commit34688c76911e4fe7d405ace8b42f565878922045
treebf6dffb025bfba029f2c416b4107ad2652c2a66e
parent9dc232a8ab18bb20f1dcb03c8e049e3607f3ed15
arm64: 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 commit 691efbedc60d ("arm64: vdso: use $(LD) instead of $(CC)
to link VDSO"), $(LD) is directly used, hence -nostdlib is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20211107161802.323125-1-masahiroy@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso/Makefile
arch/arm64/kernel/vdso32/Makefile