[all-commits] [llvm/llvm-project] 5635d2: [RISCV] Pass -u to linker correctly.
Kito Cheng via All-commits
all-commits at lists.llvm.org
Tue Jul 13 23:25:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5635d2a56dab6dc64d3a3f185d68f676b81dc736
https://github.com/llvm/llvm-project/commit/5635d2a56dab6dc64d3a3f185d68f676b81dc736
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2021-07-14 (Wed, 14 Jul 2021)
Changed paths:
M clang/lib/Driver/ToolChains/RISCVToolchain.cpp
M clang/test/Driver/riscv-args.c
Log Message:
-----------
[RISCV] Pass -u to linker correctly.
`-u` is a linker option used to pretend a symbol is undefined,
this option are common used for forcing archive member extraction.
This option should pass to `ld`, and many other toolchain in Clang
like `tools::gnutools` has pass that too.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D105091
More information about the All-commits
mailing list