summaryrefslogtreecommitdiff
path: root/libdwarf/dwarf_dump.c
diff options
context:
space:
mode:
authorWez Furlong <wez@messagesystems.com>2012-03-24 10:07:02 -0400
committerWez Furlong <wez@messagesystems.com>2012-03-24 10:07:02 -0400
commit729f57f084156849c553ee494c9492fb966c4a3a (patch)
tree74845b421403efa5ad75379f6a6ddf20f22c2067 /libdwarf/dwarf_dump.c
parentb72a3681aedba711dd62bc758bd876b369040828 (diff)
downloadctf-729f57f084156849c553ee494c9492fb966c4a3a.tar.gz
fix compilation on Solaris 10
Diffstat (limited to 'libdwarf/dwarf_dump.c')
-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";