Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1715923

[PATCH 2/2] um: Use relative modversions with LD_SCRIPT_DYN

From Thomas Meyer <thomas@m3y3r.de>
Newsgroups linux.kernel
Subject [PATCH 2/2] um: Use relative modversions with LD_SCRIPT_DYN
Date 2017-08-20 13:30 +0200
Message-ID <ugwAx-6ji-13@gated-at.bofh.it> (permalink)
References <ugwAx-6ji-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


When building a dynamic kernel image use relative symbols with MODVERSIONS.

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
---
 arch/um/Kconfig.um | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/um/Kconfig.um b/arch/um/Kconfig.um
index 4b2ed5858b2e..e26376ab5452 100644
--- a/arch/um/Kconfig.um
+++ b/arch/um/Kconfig.um
@@ -20,6 +20,7 @@ config LD_SCRIPT_DYN
 	bool
 	default y
 	depends on !LD_SCRIPT_STATIC
+        select MODULE_REL_CRCS if MODVERSIONS
 
 source "fs/Kconfig.binfmt"
 
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] um: link vmlinux with -no-pie Thomas Meyer <thomas@m3y3r.de> - 2017-08-20 13:30 +0200
  [PATCH 2/2] um: Use relative modversions with LD_SCRIPT_DYN Thomas Meyer <thomas@m3y3r.de> - 2017-08-20 13:30 +0200

csiph-web