Renamed addLocalModelTlsIndex() -> addCurrentModuleTlsIndex(), NFC.

(per discussion with Michael Spencer)

llvm-svn: 254896
This commit is contained in:
George Rimar 2015-12-07 08:02:20 +00:00
parent 8d2093d1df
commit 95c1a58539
3 changed files with 3 additions and 3 deletions

View File

@ -90,7 +90,7 @@ template <class ELFT> bool GotSection<ELFT>::addDynTlsEntry(SymbolBody *Sym) {
return true;
}
template <class ELFT> bool GotSection<ELFT>::addLocalModelTlsIndex() {
template <class ELFT> bool GotSection<ELFT>::addCurrentModuleTlsIndex() {
if (LocalTlsIndexOff != uint32_t(-1))
return false;
Entries.push_back(nullptr);

View File

@ -119,7 +119,7 @@ public:
void writeTo(uint8_t *Buf) override;
void addEntry(SymbolBody *Sym);
bool addDynTlsEntry(SymbolBody *Sym);
bool addLocalModelTlsIndex();
bool addCurrentModuleTlsIndex();
bool empty() const { return Entries.empty(); }
uintX_t getEntryAddr(const SymbolBody &B) const;
uintX_t getGlobalDynAddr(const SymbolBody &B) const;

View File

@ -205,7 +205,7 @@ void Writer<ELFT>::scanRelocs(
if (Target->isTlsLocalDynamicReloc(Type)) {
if (Target->isTlsOptimized(Type, nullptr))
continue;
if (Out<ELFT>::Got->addLocalModelTlsIndex())
if (Out<ELFT>::Got->addCurrentModuleTlsIndex())
Out<ELFT>::RelaDyn->addReloc({&C, &RI});
continue;
}