diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-02-23 20:19:44 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-02-23 20:19:44 +0000 |
| commit | 435c00f39ca6039a4f95aeb9d4916baf3c591528 (patch) | |
| tree | 35c5fe933c884f811477ccecf93021f76e8fdbd2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 16b8eddcac086d69d0dfa502464b54f840e4306c (diff) | |
Fix the aarch64 logic for dynamic relocations.
There is nothing aarch64 specific in here. If a symbol can be preempted,
we need to copy the full relocation to the dynamic linker.
If a symbol cannot be preempted, we can make the dynamic linker life
easier and produce a relative relocation.
This is directly equivalent to R_X86_64_64 to R_x86_64_RELATIVE
conversion.
llvm-svn: 261678
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
