[PATCH] D157020: [WIP][lld/ELF] Don't relax R_X86_64_(REX_)GOTPCRELX when offset is too far

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 11:12:56 PDT 2023


aeubanks added a comment.

one issue with this patch is that if we decided to remove the GOT earlier on in `removeUnusedSyntheticSections`, we don't emit the GOT. any ideas for how to structure that?

also the `relax` naming needs to be changed since we're basically unrelaxing here, but I'll fix that if this approach seems ok


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157020/new/

https://reviews.llvm.org/D157020



More information about the llvm-commits mailing list