diff options
author | Sid Manning <sidneym@codeaurora.org> | 2018-10-04 14:54:17 +0000 |
---|---|---|
committer | Sid Manning <sidneym@codeaurora.org> | 2018-10-04 14:54:17 +0000 |
commit | 261eec5fa5deae96a454835092a09098ced277a6 (patch) | |
tree | 28bc666e8e7b8ae8c64b716047513cccdd5fd897 /clang/test/Index/annotate-comments-availability-attrs.cpp | |
parent | dee7bfdb9fb839973b9635530a270189bb7d94b3 (diff) | |
download | bcm5719-llvm-261eec5fa5deae96a454835092a09098ced277a6.tar.gz bcm5719-llvm-261eec5fa5deae96a454835092a09098ced277a6.zip |
[ELF][HEXAGON] Add support for GOT relocations.
The GOT is referenced through the symbol _GLOBAL_OFFSET_TABLE_ .
The relocation added calculates the offset into the global offset table for
the entry of a symbol. In order to get the correct TargetVA I needed to
create an new relocation expression, HEXAGON_GOT. It does
Sym.getGotVA() - In.GotPlt->getVA().
Differential Revision: https://reviews.llvm.org/D52744
llvm-svn: 343784
Diffstat (limited to 'clang/test/Index/annotate-comments-availability-attrs.cpp')
0 files changed, 0 insertions, 0 deletions