summaryrefslogtreecommitdiff
path: root/view/elf/elfview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/elf/elfview.cpp')
-rw-r--r--view/elf/elfview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/elf/elfview.cpp b/view/elf/elfview.cpp
index 5c045682..d8a0a112 100644
--- a/view/elf/elfview.cpp
+++ b/view/elf/elfview.cpp
@@ -632,7 +632,7 @@ bool ElfView::Init()
}
// Add sections that aren't in the virtual address space only to the raw parent view
- if (!(m_elfSections[i].flags & ELF_SHF_ALLOC))
+ if (!(m_elfSections[i].flags & ELF_SHF_ALLOC) || m_elfSections[i].type == ELF_SHT_NOTE)
{
if (m_elfSections[i].size != 0 && m_elfSections[i].type != ELF_SHT_NOBITS)
GetParentView()->AddAutoSection(sectionNames[i], m_elfSections[i].offset, m_elfSections[i].size, DefaultSectionSemantics,