[PATCH] D14090: [ELF2] R_X86_64_COPY relocation implemented

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 26 13:29:35 PDT 2015


grimar added inline comments.

================
Comment at: ELF/Writer.cpp:419
@@ +418,3 @@
+    Off = RoundUpToAlignment(Off, Sym.st_size);
+    C->OffsetInBSS = Off;
+    Off += Sym.st_size;
----------------
I just not sure what to use here for RoundUpToAlignment. May be should find the largest symbol and use its size for that ?


http://reviews.llvm.org/D14090





More information about the llvm-commits mailing list