diff options
author | Kees Cook <keescook@chromium.org> | 2020-04-02 10:18:37 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-08 17:13:45 +0200 |
commit | 4dcc9a88448a65a1e855228917cfbb92ac4b4f45 (patch) | |
tree | 0aeaf77d289824565442a1c352e6dc0c5624fdf3 /Documentation | |
parent | kconfig: qconf: Fix a few alignment issues (diff) | |
download | linux-4dcc9a88448a65a1e855228917cfbb92ac4b4f45.tar.xz linux-4dcc9a88448a65a1e855228917cfbb92ac4b4f45.zip |
kbuild: mkcompile_h: Include $LD version in /proc/version
When doing Clang builds of the kernel, it is possible to link with
either ld.bfd (binutils) or ld.lld (LLVM), but it is not possible to
discover this from a running kernel. Add the "$LD -v" output to
/proc/version.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Fangrui Song <maskray@google.com>
Reviewed-by: Sedat Dilek <sedat.dilek@gmail.com>
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions