grimar added inline comments. ================ Comment at: ELF/InputSection.cpp:174 @@ -173,3 +173,3 @@ if (!Body) SymVA = getLocalRelTarget(*File, RI, 0); else if (Target->relocNeedsGot(Type, *Body)) ---------------- Thats the place. Having nullptr is ok here. http://reviews.llvm.org/D16466