mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
LoongArch: vDSO: Remove -nostdlib complier flag
Since $(LD) is directly used, hence -nostdlib is unneeded, MIPS has removed this, we should remove it too.bdbf2038fb("MIPS: VDSO: remove -nostdlib compiler flag"). In fact, other architectures also use $(LD) now.fe00e50b2d("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO")691efbedc6("arm64: vdso: use $(LD) instead of $(CC) to link VDSO")2ff906994b("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO")2b2a25845d("s390/vdso: Use $(LD) instead of $(CC) to link vDSO") Cc: stable@vger.kernel.org Reviewed-by: Yanteng Si <siyanteng@cqsoftware.com.cn> Signed-off-by: Wentao Guan <guanwentao@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
This commit is contained in:
@@ -36,7 +36,7 @@ endif
|
||||
|
||||
# VDSO linker flags.
|
||||
ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
|
||||
$(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared --build-id -T
|
||||
$(filter -E%,$(KBUILD_CFLAGS)) -shared --build-id -T
|
||||
|
||||
#
|
||||
# Shared build commands.
|
||||
|
||||
Reference in New Issue
Block a user