Thread (22 messages) 22 messages, 4 authors, 2024-11-21

Re: [PATCH v8 2/3] modpost: Produce extended MODVERSIONS information

From: Luis Chamberlain <mcgrof@kernel.org>
Date: 2024-10-31 11:37:33
Also in: linux-kbuild, linux-modules, lkml, rust-for-linux

On Wed, Oct 30, 2024 at 11:05:03PM +0000, Matthew Maurer wrote:
quoted hunk ↗ jump to hunk
diff --git a/kernel/module/Kconfig b/kernel/module/Kconfig
index e6b2427e5c190aacf7b9c5c1bb57fca39d311564..a31c617cd67d3d66b24d2fba34cbd5cc9c53ab78 100644
--- a/kernel/module/Kconfig
+++ b/kernel/module/Kconfig
@@ -208,6 +208,16 @@ config ASM_MODVERSIONS
 	  assembly. This can be enabled only when the target architecture
 	  supports it.
 
+config EXTENDED_MODVERSIONS
+	bool "Extended Module Versioning Support"
+	depends on MODVERSIONS
+	help
+	  This enables extended MODVERSIONs support, allowing long symbol
+	  names to be versioned.
+
+	  The most likely reason you would enable this is to enable Rust
+	  support. If unsure, say N.
+
The question is, if only extended moversions are used, what new tooling
requirements are there? Can you test using only extended modversions?

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