Index: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp =================================================================== --- source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp +++ source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp @@ -2004,7 +2004,7 @@ SectionType section_type = g_sections[idx]; SectionSP section_sp( elf_section_list->FindSectionByType(section_type, true)); - if (section_sp) { + if (section_sp && section_sp->GetFileSize()) { SectionSP module_section_sp( unified_section_list.FindSectionByType(section_type, true)); if (module_section_sp) Index: source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp =================================================================== --- source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp +++ source/Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp @@ -141,7 +141,7 @@ SectionType section_type = g_sections[idx]; SectionSP section_sp( objfile_section_list->FindSectionByType(section_type, true)); - if (section_sp) { + if (section_sp && section_sp->GetFileSize()) { SectionSP module_section_sp( module_section_list->FindSectionByType(section_type, true)); if (module_section_sp)