Skip to content

Commit d35ec48

Browse files
opsiffchenhuacai
authored andcommitted
LoongArch: vDSO: Remove -nostdlib complier flag
Since $(LD) is directly used, hence -nostdlib is unneeded, MIPS has removed this, we should remove it too. bdbf203 ("MIPS: VDSO: remove -nostdlib compiler flag"). In fact, other architectures also use $(LD) now. fe00e50 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC) to link VDSO") 691efbe ("arm64: vdso: use $(LD) instead of $(CC) to link VDSO") 2ff9069 ("MIPS: VDSO: Use $(LD) instead of $(CC) to link VDSO") 2b2a258 ("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>
1 parent d3eece0 commit d35ec48

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/loongarch/vdso/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ endif
3636

3737
# VDSO linker flags.
3838
ldflags-y := -Bsymbolic --no-undefined -soname=linux-vdso.so.1 \
39-
$(filter -E%,$(KBUILD_CFLAGS)) -nostdlib -shared --build-id -T
39+
$(filter -E%,$(KBUILD_CFLAGS)) -shared --build-id -T
4040

4141
#
4242
# Shared build commands.

0 commit comments

Comments
 (0)