diff options
author | Leonard Chan <leonardchan@google.com> | 2023-02-23 22:05:11 +0000 |
---|---|---|
committer | Leonard Chan <leonardchan@google.com> | 2023-02-23 22:05:52 +0000 |
commit | 4f0aa2517d0cef0422cca03667f572b935f062fb (patch) | |
tree | d7196d6eee26c8207ea877ddc916894becfe42f8 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | c1b3e888449045db6b57353b2b3ebbb56541fb6c (diff) | |
download | llvm-4f0aa2517d0cef0422cca03667f572b935f062fb.zip llvm-4f0aa2517d0cef0422cca03667f572b935f062fb.tar.gz llvm-4f0aa2517d0cef0422cca03667f572b935f062fb.tar.bz2 |
[lld][RISCV] Introduce handling for R_RISCV_PLT32 relocation
This introduces R_RISCV_PLT32, a PC-relative data relocation that takes
the 32-bit relative offset to a function or its PLT entry.
This is needed to support relative vtables on RISCV.
Github PR: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/363
D143226 has the llvm parts.
Differential Revision: https://reviews.llvm.org/D143115
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions