diff options
author | Ilie Halip <ilie.halip@gmail.com> | 2020-04-15 17:29:58 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-04-22 01:22:45 +0300 |
commit | 3c1918c8f54166598195d938564072664a8275b1 (patch) | |
tree | a8ac27fe8434e7a7697f57c4bf947a34472c96b6 /drivers/tty | |
parent | af2bdf828f7963fd139ea8c5e23fd2c4e0dfca97 (diff) | |
download | linux-3c1918c8f54166598195d938564072664a8275b1.tar.xz |
riscv: fix vdso build with lld
When building with the LLVM linker this error occurrs:
LD arch/riscv/kernel/vdso/vdso-syms.o
ld.lld: error: no input files
This happens because the lld treats -R as an alias to -rpath, as opposed
to ld where -R means --just-symbols.
Use the long option name for compatibility between the two.
Link: https://github.com/ClangBuiltLinux/linux/issues/805
Reported-by: Dmitry Golovin <dima@golovin.in>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Ilie Halip <ilie.halip@gmail.com>
Reviewed-by: Fangrui Song <maskray@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions