From c4607eb7adc6facb6672ce60d3da777219c7c977 Mon Sep 17 00:00:00 2001 From: John Birrell Date: Fri, 23 May 2008 07:32:19 +0000 Subject: [PATCH] Add the case for SHT_AMD64_UNWIND. --- lib/libelf/libelf_data.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index d2d583fe157..77493005bc1 100644 --- a/lib/libelf/libelf_data.c +++ b/lib/libelf/libelf_data.c @@ -78,6 +78,8 @@ _libelf_xlate_shtype(uint32_t sht) case SHT_SUNW_syminfo: return (ELF_T_SYMINFO); #endif + case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */ + return (ELF_T_BYTE); default: return (-1); }