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

From: Thomas Meyer
Date: Sun Aug 20 2017 - 07:30:09 EST


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

Signed-off-by: Thomas Meyer <thomas@xxxxxxxx>
---
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