Commit 1ec1b0d5 authored by Wentao Guan's avatar Wentao Guan Committed by Greg Kroah-Hartman
Browse files

LoongArch: vDSO: Remove -nostdlib complier flag



[ Upstream commit d35ec48f ]

Since $(LD) is directly used, hence -nostdlib is unneeded, MIPS has
removed this, we should remove it too.

bdbf2038 ("MIPS: VDSO: remove -nostdlib compiler flag").

In fact, other architectures also use $(LD) now.

fe00e50b ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO")
691efbed ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO")
2ff90699 ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO")
2b2a2584 ("s390/vdso: Use $(LD) instead of $(CC) to link vDSO")

Cc: stable@vger.kernel.org
Reviewed-by: default avatarYanteng Si <siyanteng@cqsoftware.com.cn>
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 0a97a654
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment