summaryrefslogtreecommitdiffstats
path: root/lib/libelf
diff options
context:
space:
mode:
authorgonzo <gonzo@FreeBSD.org>2012-03-23 22:55:37 +0000
committergonzo <gonzo@FreeBSD.org>2012-03-23 22:55:37 +0000
commit24ee1e255a3c493a14321055aa0ddc08c01f725a (patch)
tree695528af4cc6665370c768a60e2ff5b6da63f5d0 /lib/libelf
parent1586b9e9af4eb7eaf7c132043a315bcde879d5a7 (diff)
downloadFreeBSD-src-24ee1e255a3c493a14321055aa0ddc08c01f725a.zip
FreeBSD-src-24ee1e255a3c493a14321055aa0ddc08c01f725a.tar.gz
Add handler for MIPS.options section
Diffstat (limited to 'lib/libelf')
-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 ee2d57a..eb6c166 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_OPTIONS:
+ /* FALLTHROUGH */
case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */
return (ELF_T_BYTE);
default:
OpenPOWER on IntegriCloud