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

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 07:31:09 PST 2015


ruiu 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:
----------------
ikudrin wrote:
> 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?
I'm sorry if that's not clear, I pointed out PREL relocations. (I selected these three lines on Phab, but Phab includes plus/minus one lines to the diff in addition to the selection I made on the web UI.)


http://reviews.llvm.org/D15043





More information about the llvm-commits mailing list