diff options
author | Sami Tolvanen <[email protected]> | 2020-12-11 10:46:20 -0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2021-01-14 08:21:08 -0800 |
commit | 38e89184900385b0dad1ee55c35ae8abcfee6ece (patch) | |
tree | 2fceafbc8aaa221c67b16a20908db6bda6a5305d /net/lapb/lapb_subr.c | |
parent | dc5723b02e523b2c4a68667f7e28c65018f7202f (diff) |
kbuild: lto: fix module versioning
With CONFIG_MODVERSIONS, version information is linked into each
compilation unit that exports symbols. With LTO, we cannot use this
method as all C code is compiled into LLVM bitcode instead. This
change collects symbol versions into .symversions files and merges
them in link-vmlinux.sh where they are all linked into vmlinux.o at
the same time.
Signed-off-by: Sami Tolvanen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions