}
static bool includeInGnuHashTable(SymbolBody *B) {
- // Assume that includeInDynamicSymtab() is already checked.
+ // Assume that includeInDynsym() is already checked.
return !B->isUndefined();
}
return true;
}
-static bool includeInDynamicSymtab(const SymbolBody &B) {
+static bool includeInDynsym(const SymbolBody &B) {
uint8_t V = B.getVisibility();
if (V != STV_DEFAULT && V != STV_PROTECTED)
return false;
if (Out<ELFT>::SymTab)
Out<ELFT>::SymTab->addSymbol(Body);
- if (isOutputDynamic() && includeInDynamicSymtab(*Body))
+ if (isOutputDynamic() && includeInDynsym(*Body))
Out<ELFT>::DynSymTab->addSymbol(Body);
}