[PATCH] D91993: [ELF] Don't relax R_X86_64_GOTPCRELX if addend != -4

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 00:07:50 PST 2020


grimar added a comment.

My understanding is that R_X86_64_*RELX relocation should never be emitted when a relaxation is not possible.
ABI doesn't say anything about addends I think.
So, why should this be handled on linker side and not on the compiler side?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91993



More information about the llvm-commits mailing list