[PATCH] D15107: [ELF] - Target interface simplification, getGotRefReloc() removed.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 1 09:43:06 PST 2015
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM with a nit.
================
Comment at: ELF/InputSection.cpp:156
@@ -155,4 +155,3 @@
SymVA = Out<ELFT>::Got->getEntryAddr(Body);
- Type = Body.isTLS() ? Target->getTlsGotReloc()
- : Target->getGotRefReloc(Type);
+ Type = Body.isTLS() ? Target->getTlsGotReloc() : Type;
} else if (!Target->relocNeedsCopy(Type, Body) &&
----------------
if (Body.isTLS())
Type = Target->getTlsGotReloc();
http://reviews.llvm.org/D15107
More information about the llvm-commits
mailing list