[PATCH] D15335: [ELF] - R_X86_64_SIZE64/R_X86_64_SIZE32 relocations implemented.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 10:26:54 PST 2015


ruiu added inline comments.

================
Comment at: ELF/Target.cpp:510-511
@@ +509,4 @@
+                                      const SymbolBody &S) const {
+  return (Type == R_X86_64_SIZE32 || Type == R_X86_64_SIZE64) &&
+         canBePreempted(&S, false);
+}
----------------
Is this correct? If my understanding is correct, if a symbol can be preempted, SIZE relocations for the symbol are ignored in this implementation. Is this what you expected?


http://reviews.llvm.org/D15335





More information about the llvm-commits mailing list