forked from OSchip/llvm-project
ca8105b76c
For a function call (using the default `-fplt`), GCC `-mcmodel=large` generates an assembly modifier which leads to an R_X86_64_PLTOFF64 relocation. In real world, http://git.ageinghacker.net/jitter (used by GNU poke) uses `-mcmodel=large`. R_X86_64_PLTOFF64's formula is (if preemptible) `L - GOT + A` or (if non-preemptible) `S - GOT + A` where `GOT` is (confusingly) the address of `.got.plt` Reviewed By: peter.smith Differential Revision: https://reviews.llvm.org/D112386 |
||
---|---|---|
.. | ||
AArch64.cpp | ||
AMDGPU.cpp | ||
ARM.cpp | ||
AVR.cpp | ||
Hexagon.cpp | ||
MSP430.cpp | ||
Mips.cpp | ||
MipsArchTree.cpp | ||
PPC.cpp | ||
PPC64.cpp | ||
PPCInsns.def | ||
RISCV.cpp | ||
SPARCV9.cpp | ||
X86.cpp | ||
X86_64.cpp |