Thread (3 messages) 3 messages, 1 author, 6d ago
DORMANTno replies

[PATCH 1/2] powerpc/vdso: Add support for vDSO installation

From: Thomas Weißschuh <hidden>
Date: 2026-07-10 06:14:52
Also in: lkml
Subsystem: linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Michael Ellerman, Linus Torvalds

From: Thomas Weißschuh <linux@weissschuh.net>

'make vdso_install' can install the unstripped vDSO files,
so that they can be shipped to the target system for debugging purposes.

Add the necessary variables so this also works on PowerPC.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 arch/powerpc/Makefile | 3 +++
 1 file changed, 3 insertions(+)
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index a58b1029592c..78112e032c50 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -391,6 +391,9 @@ vdso_prepare: prepare0
 		$(build)=arch/powerpc/kernel/vdso include/generated/vdso64-offsets.h)
 endif
 
+vdso-install-$(CONFIG_VDSO32)	+= arch/powerpc/kernel/vdso/vdso32.so.dbg
+vdso-install-$(CONFIG_PPC64)	+= arch/powerpc/kernel/vdso/vdso64.so.dbg
+
 archprepare: checkbin
 
 archheaders:
-- 
2.55.0

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help