Rename includeInDynamicSymtab -> includeInDynsym.
llvm-svn: 259144
This commit is contained in:
parent
1940424632
commit
c112c1be69
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue