diff options
author | Rui Ueyama <ruiu@google.com> | 2018-06-12 20:27:16 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2018-06-12 20:27:16 +0000 |
commit | 864289990ab75ee17776c599585095ec781eee6b (patch) | |
tree | 712b346f9a6f0927566e157b52b0e933e501cac5 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
parent | 3773c196fc37add6999ff167af47d26c9b7ddda7 (diff) | |
download | bcm5719-llvm-864289990ab75ee17776c599585095ec781eee6b.tar.gz bcm5719-llvm-864289990ab75ee17776c599585095ec781eee6b.zip |
Handle R_X86_64_GOTOFF64.
R_X86_64_GOTOFF64 is a relocation type to set to a distance betwween
a symbol and the beginning of the .got section. Previously, we always
created a dynamic relocation for the relocation type even though it
can be resolved at link-time.
Creating a dynamic relocation for R_X86_64_GOTOFF64 caused link failure
for some programs that do have a relocation of the type in a .text
section, as text relocations are prohibited in most configurations.
Differential Revision: https://reviews.llvm.org/D48058
llvm-svn: 334534
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions