summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdwarf/dwarf_dump.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdwarf/dwarf_dump.c b/libdwarf/dwarf_dump.c
index a6683a2..10dbdf8 100644
--- a/libdwarf/dwarf_dump.c
+++ b/libdwarf/dwarf_dump.c
@@ -66,12 +66,18 @@ get_sht_desc(uint32_t sh_type)
return "Section group.";
case SHT_SYMTAB_SHNDX:
return "Section indexes (see SHN_XINDEX).";
+#ifdef SHT_GNU_verdef
case SHT_GNU_verdef:
return "Symbol versions provided";
+#endif
+#ifdef SHT_GNU_verneed
case SHT_GNU_verneed:
return "Symbol versions required";
+#endif
+#ifdef SHT_GNU_versym
case SHT_GNU_versym:
return "Symbol version table";
+#endif
#ifdef SHT_AMD64_UNWIND
case SHT_AMD64_UNWIND:
return "AMD64 unwind";