Rename includeInDynamicSymtab -> includeInDynsym.

llvm-svn: 259144
This commit is contained in:
Rui Ueyama 2016-01-29 02:17:01 +00:00
parent 1940424632
commit c112c1be69
2 changed files with 3 additions and 3 deletions

View File

@ -554,7 +554,7 @@ void GnuHashTableSection<ELFT>::writeHashTable(uint8_t *Buf) {
}
static bool includeInGnuHashTable(SymbolBody *B) {
// Assume that includeInDynamicSymtab() is already checked.
// Assume that includeInDynsym() is already checked.
return !B->isUndefined();
}

View File

@ -681,7 +681,7 @@ template <class ELFT> static bool includeInSymtab(const SymbolBody &B) {
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;
@ -884,7 +884,7 @@ template <class ELFT> bool Writer<ELFT>::createSections() {
if (Out<ELFT>::SymTab)
Out<ELFT>::SymTab->addSymbol(Body);
if (isOutputDynamic() && includeInDynamicSymtab(*Body))
if (isOutputDynamic() && includeInDynsym(*Body))
Out<ELFT>::DynSymTab->addSymbol(Body);
}