diff options
author | Fangrui Song <maskray@google.com> | 2020-01-09 11:59:28 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-01-10 09:59:22 -0800 |
commit | 2d077d6dfa7909a21293ebdac81488367628e0fa (patch) | |
tree | 197d48ebeaafd3faebd00d1f0eb2243a769d8528 /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | f17ae668a96eeb69f0664f126cf672e1a05754d2 (diff) | |
download | llvm-2d077d6dfa7909a21293ebdac81488367628e0fa.zip llvm-2d077d6dfa7909a21293ebdac81488367628e0fa.tar.gz llvm-2d077d6dfa7909a21293ebdac81488367628e0fa.tar.bz2 |
[ELF] Make TargetInfo::writeIgotPlt a no-op
RELA targets don't read initial .got.plt entries.
REL targets (ARM, x86-32) write the address of the IFUNC resolver to the
entry (`write32le(buf, s.getVA())`).
The default writeIgotPlt() is not meaningful. Make it a no-op. AArch64
and x86-64 will have 0 as initial .got.plt entries associated with
IFUNC.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D72474
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions