summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-03-26 21:31:57 +0000
committergonzo <gonzo@FreeBSD.org>2012-03-26 21:31:57 +0000
commit1a1c87859183b1b9fd9d6cf6d92504166802e366 (patch)
tree90ba852c7f104401fe4b7b0c2f4adc05673128b7 /lib
parent0f05d3736dc783b40c169ee8adfcea424123ca3e (diff)
downloadFreeBSD-src-1a1c87859183b1b9fd9d6cf6d92504166802e366.zip
FreeBSD-src-1a1c87859183b1b9fd9d6cf6d92504166802e366.tar.gz
Handle MIPS .reginfo section as ELF_T_BYTE
Diffstat (limited to 'lib')
-rw-r--r--lib/libelf/libelf_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c
index eb6c166..3fbb067 100644
--- a/lib/libelf/libelf_data.c
+++ b/lib/libelf/libelf_data.c
@@ -86,6 +86,8 @@ _libelf_xlate_shtype(uint32_t sht)
#endif
case SHT_MIPS_DWARF:
/* FALLTHROUGH */
+ case SHT_MIPS_REGINFO:
+ /* FALLTHROUGH */
case SHT_MIPS_OPTIONS:
/* FALLTHROUGH */
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */
OpenPOWER on IntegriCloud