[PATCH] D18711: Change how we apply rellocations

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 12 10:00:50 PDT 2016


ruiu added inline comments.

================
Comment at: ELF/InputSection.cpp:190
@@ +189,3 @@
+    break;
+  case R_ABS:
+  case R_MIPS_GOT:
----------------
Why don't you return early in this switch-case? For example, for R_ABS, you can immediately return Body.getVA<ELFT>(A).


http://reviews.llvm.org/D18711





More information about the llvm-commits mailing list