[PATCH] D81359: [ELF] Add --[no-]relax to disable x86-64 GOTPCRELX relaxation

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 8 08:11:37 PDT 2020


MaskRay added a comment.

In D81359#2079188 <https://reviews.llvm.org/D81359#2079188>, @grimar wrote:

> Can `--no-relax` just be an ignored option for now? Seems it is only valueable for RISC-V.


The implementation for x86-64 seems simple enough that we can implement it as well.

ppc64 has a similar `--no-toc-optimize` and once for a while I used it to bypass side effects caused by instruction rewriting.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D81359





More information about the llvm-commits mailing list