[PATCH] D147983: [lld][driver] Add `--relax-gp`/`no-relax-gp` flags for GNU compatibility
Roland McGrath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 11 12:46:02 PDT 2023
mcgrathr added a comment.
In D147983#4259054 <https://reviews.llvm.org/D147983#4259054>, @MaskRay wrote:
> Thank for the patch, but we can just wait for GP relaxation which should land soon.
If it's not landing literally by tomorrow, then we should land this first to unblock other work that needs to rely on RISC-V linkers accepting these flags since GNU linkers have `--relax-gp` as the default state and we need target-specific driver logic to be able to override that. This seems far preferable to making such driver logic temporarily omit the option when it thinks it's running LLD.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147983/new/
https://reviews.llvm.org/D147983
More information about the llvm-commits
mailing list