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

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 13:55:24 PST 2021


pcc added a comment.

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.


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