[PATCH] D14749: [ELF2/AArch64] Add lazy relocation for AArch64 target.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 09:28:22 PST 2015


ikudrin added inline comments.

================
Comment at: ELF/Target.cpp:617
@@ +616,3 @@
+
+unsigned AArch64TargetInfo::getPLTRefReloc(unsigned Type) const { return Type; }
+
----------------
ruiu wrote:
> Remove this function.
Why? If I remove it, I'll need to fill PCRelReloc instead, but this function is called for different types of relocations, R_AARCH64_JUMP26 and R_AARCH64_CALL26 in particular. And these relocations are supported by the relocateOne() method anyway.


http://reviews.llvm.org/D14749





More information about the llvm-commits mailing list