aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-12-14 15:09:43 -0800
committerFangrui Song <maskray@google.com>2019-12-16 11:10:02 -0800
commit90d195d026f5c90e26f09614e23d4112b3dfaaa1 (patch)
treef4fd12eb512d7d25b8a5df81a19e40f12d654d34 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent98afa2c1f1a040afc02be10d5a58bf7e87c38cc1 (diff)
downloadllvm-90d195d026f5c90e26f09614e23d4112b3dfaaa1.zip
llvm-90d195d026f5c90e26f09614e23d4112b3dfaaa1.tar.gz
llvm-90d195d026f5c90e26f09614e23d4112b3dfaaa1.tar.bz2
[ELF] Delete relOff from TargetInfo::writePLT
This change only affects EM_386. relOff can be computed from `index` easily, so it is unnecessarily passed as a parameter. Both in.plt and in.iplt entries are written by writePLT. For in.iplt, the instruction `push reloc_offset` will change because `index` is now different. Fortunately, this does not matter because `push; jmp` is only used by PLT. IPLT does not need the code sequence. Reviewed By: grimar, ruiu Differential Revision: https://reviews.llvm.org/D71518
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions