SymbolDB: Namespace code under the Common namespace

Moves more common code into the Common namespace where it belongs.
This commit is contained in:
Lioncash
2018-05-27 17:37:52 -04:00
parent 72e8058fb8
commit f4ec419929
24 changed files with 122 additions and 104 deletions

View File

@ -204,14 +204,14 @@ bool ElfReader::LoadSymbols() const
if (bRelocate)
value += sectionAddrs[sectionIndex];
auto symtype = Symbol::Type::Data;
auto symtype = Common::Symbol::Type::Data;
switch (type)
{
case STT_OBJECT:
symtype = Symbol::Type::Data;
symtype = Common::Symbol::Type::Data;
break;
case STT_FUNC:
symtype = Symbol::Type::Function;
symtype = Common::Symbol::Type::Function;
break;
default:
continue;