diff options
author | Mathias Krause <minipli@googlemail.com> | 2018-12-30 07:40:04 -0500 |
---|---|---|
committer | Jessica Yu <jeyu@kernel.org> | 2019-03-18 07:03:42 -0400 |
commit | 9672e2cb0fbdcb11d64ac43bcb4ee86a76b4221f (patch) | |
tree | f72c3a7716db551374dcdf05672bf300c2d6f08c | |
parent | 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b (diff) |
vmlinux.lds.h: drop unused __vermagic
The reference to '__vermagic' is a relict from v2.5 times. And even
there it had a very short life time, from v2.5.59 (commit 1d411b80ee18
("Module Sanity Check") in the historic tree) to v2.5.69 (commit
67ac5b866bda ("[PATCH] complete modinfo section")).
Neither current kernels nor modules contain a '__vermagic' section any
more, so get rid of it.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Jessica Yu <jeyu@kernel.org>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index f8f6f04c4453..42844931b851 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -332,7 +332,6 @@ | |||
332 | __start_rodata = .; \ | 332 | __start_rodata = .; \ |
333 | *(.rodata) *(.rodata.*) \ | 333 | *(.rodata) *(.rodata.*) \ |
334 | RO_AFTER_INIT_DATA /* Read only after init */ \ | 334 | RO_AFTER_INIT_DATA /* Read only after init */ \ |
335 | KEEP(*(__vermagic)) /* Kernel version magic */ \ | ||
336 | . = ALIGN(8); \ | 335 | . = ALIGN(8); \ |
337 | __start___tracepoints_ptrs = .; \ | 336 | __start___tracepoints_ptrs = .; \ |
338 | KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \ | 337 | KEEP(*(__tracepoints_ptrs)) /* Tracepoints: pointer array */ \ |