summaryrefslogtreecommitdiffstats
path: root/arch/um
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2017-08-20 13:26:05 +0200
committerRichard Weinberger <richard@nod.at>2017-09-13 22:35:06 +0200
commit39940dbcaaf5ea3f0d621b715a8bd82169b2decf (patch)
treec029d55d9ecb3bb321b4a80a6a25987e6631ef48 /arch/um
parentum: link vmlinux with -no-pie (diff)
downloadlinux-39940dbcaaf5ea3f0d621b715a8bd82169b2decf.tar.xz
linux-39940dbcaaf5ea3f0d621b715a8bd82169b2decf.zip
um: Use relative modversions with LD_SCRIPT_DYN
When building a dynamic kernel image use relative symbols with MODVERSIONS. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r--arch/um/Kconfig.um1
1 files changed, 1 insertions, 0 deletions
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"