[PATCH] D15043: [ELF/AArch64] Add support for the R_AARCH64_COPY relocation.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 07:27:25 PST 2015


ikudrin added inline comments.

================
Comment at: ELF/Target.cpp:917-919
@@ +916,5 @@
+  case R_AARCH64_ABS64:
+  case R_AARCH64_PREL16:
+  case R_AARCH64_PREL32:
+  case R_AARCH64_PREL64:
+  case R_AARCH64_ADR_PREL_LO21:
----------------
ruiu wrote:
> These are GOT-relative relocations. Do you need to create copy relocations for them?
They are in the same table "4-6, Data relocations" and in the same section "4.6.5 Static Data relocations" as R_AARCH64_ABS* in the following spec: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0056b/IHI0056B_aaelf64.pdf.

Can you hint me for some other specs?


http://reviews.llvm.org/D15043





More information about the llvm-commits mailing list