[PATCH] D149751: [LLD][ELF][RISCV] Add auipc->lui relaxation.
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 16 06:38:01 PDT 2023
asb added a comment.
Do recent GCC toolchains still produce code requiring this relaxation (as opposed to using the GOT)?
Outside of R_RISCV_ALIGN, is this the only case that requires relaxation implementation for correctness? I agree with @MaskRay that it is better for the RISC-V ecosystem if the set of required relaxation transformations is kept minimal (not least as it makes it easier to bring up a new linker). But I'm also wary about incompatibilities between lld and GNU ld leading to issues.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149751/new/
https://reviews.llvm.org/D149751
More information about the llvm-commits
mailing list