]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: vDSO: Remove -nostdlib complier flag
authorWentao Guan <guanwentao@uniontech.com>
Tue, 5 Aug 2025 11:00:22 +0000 (19:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:58:05 +0000 (18:58 +0200)
commit1ec1b0d5e2758a0415ad33ee8074317246977af5
treea7a0c31112d545d285a6f95389e601d31619e8a8
parent0a97a654a26a700976ff460fe522c4cfaa4b9bf9
LoongArch: vDSO: Remove -nostdlib complier flag

[ Upstream commit d35ec48fa6c8fe0cfa4a03155109fec7677911d4 ]

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

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

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

fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO")
691efbedc60d ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO")
2ff906994b6c ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO")
2b2a25845d53 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/loongarch/vdso/Makefile