[PATCH] D113220: [X86] Selective relocation relaxation for +tagged-globals

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 14:42:18 PST 2021


morehouse added a comment.

In D113220#3122771 <https://reviews.llvm.org/D113220#3122771>, @pcc wrote:

> I think it ought to be possible to write these non-relaxable relocations from assembly, so that the behavior with `-c` is equivalent to the behavior with `-S` and then assembling the output. For example, you should be able to assemble
>
>   mov foo at gotpcrel_norelax(%rip), %rax
>
> and the `-S` output from the compiler should look like that as well.

Won't this cause incompatibility with all other assemblers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113220



More information about the llvm-commits mailing list