Scan dynamic symbol table of ELF object files

llvm-svn: 132582
This commit is contained in:
Peter Collingbourne 2011-06-03 20:39:58 +00:00
parent b8bf3c0f8b
commit b4aabeb8d7
1 changed files with 1 additions and 1 deletions

View File

@ -1085,7 +1085,7 @@ ObjectFileELF::GetSymtab()
for (SectionHeaderCollIter I = m_section_headers.begin();
I != m_section_headers.end(); ++I)
{
if (I->sh_type == SHT_SYMTAB)
if (I->sh_type == SHT_SYMTAB || I->sh_type == SHT_DYNSYM)
{
const ELFSectionHeader &symtab_header = *I;
user_id_t section_id = SectionIndex(I);