All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] LoongArch: vDSO: remove -nostdlib complier flag
@ 2025-07-25 13:26 Wentao Guan
  2025-07-30  1:54 ` Yanteng Si
  0 siblings, 1 reply; 3+ messages in thread
From: Wentao Guan @ 2025-07-25 13:26 UTC (permalink / raw)
  To: chenhuacai
  Cc: kernel, xry111, loongarch, linux-kernel, wangyuli, zhanjun,
	Wentao Guan

It is clear to remove the -nostdlib for ld, it is similar to commit
bdbf2038fbf4 ("MIPS: VDSO: remove -nostdlib compiler flag").

Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
---
 arch/loongarch/vdso/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/loongarch/vdso/Makefile b/arch/loongarch/vdso/Makefile
index ccd2c5e135c6..d8316f993482 100644
--- a/arch/loongarch/vdso/Makefile
+++ b/arch/loongarch/vdso/Makefile
@@ -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.
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-07-30  7:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-25 13:26 [PATCH] LoongArch: vDSO: remove -nostdlib complier flag Wentao Guan
2025-07-30  1:54 ` Yanteng Si
2025-07-30  7:25   ` Huacai Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.