diff options
author | George Rimar <grimar@accesssoftek.com> | 2018-11-27 10:30:46 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2018-11-27 10:30:46 +0000 |
commit | d2f8db827d67a172d18d4178ce20c7b4c0d3b890 (patch) | |
tree | 0f7717627fff0be4cb0cc1cf054ae3a018c973f5 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 8a3e7178f6cc29f57e1f608d50b17a8960300391 (diff) | |
download | bcm5719-llvm-d2f8db827d67a172d18d4178ce20c7b4c0d3b890.tar.gz bcm5719-llvm-d2f8db827d67a172d18d4178ce20c7b4c0d3b890.zip |
[ELF] - Fix R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12 handling against IFUNC symbols.
This is https://bugs.llvm.org/show_bug.cgi?id=38074.
The issue is that when calling a function, LLD generates a
.got entry that points to the IFUNC resolver function when
instead, it should use the PLT entries properly for
handling the IFUNC.
So we should create a got entry that points to PLT entry,
which itself loads the value from
.got.plt, relocated with R_*_IRELATIVE to make things work.
Patch do that.
Differential revision: https://reviews.llvm.org/D54314
llvm-svn: 347650
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions