From 729f57f084156849c553ee494c9492fb966c4a3a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 24 Mar 2012 10:07:02 -0400 Subject: fix compilation on Solaris 10 --- libdwarf/dwarf_dump.c | 6 ++++++ 1 file changed, 6 insertions(+) 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"; -- cgit v1.2.3