[PATCH] D102776: [CG][X86][NFC] Add an option to disable unconditional generation of PLT32 relocations for jmp/call

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 20 15:21:19 PDT 2021


MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

How is it infeasible? PLT32 is moving toward the correct direction and matches most other architectures.

Branch relocation types should be different from PC-relative relocations because the former has less reliance on the semantics. PC-relative relocations can mean address taking operations and can cause issues like canonical PLT entries.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102776



More information about the llvm-commits mailing list