diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-08-11 19:59:31 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-08-11 19:59:31 +0000 |
commit | 9198b19835979cee1b431f818f01d9859c25f48f (patch) | |
tree | 5add2767bc8a9e314951987491ec1503a5119773 | |
parent | 012f95d3ece517478f48d3b7cf47d567186c1430 (diff) | |
download | FreeBSD-src-9198b19835979cee1b431f818f01d9859c25f48f.zip FreeBSD-src-9198b19835979cee1b431f818f01d9859c25f48f.tar.gz |
Add translation support for section type SHT_SUNW_dof.
Submitted by: rpaulo
MFC after: 2 weeks
-rw-r--r-- | lib/libelf/libelf_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libelf/libelf_data.c b/lib/libelf/libelf_data.c index 8f88694..67388b6 100644 --- a/lib/libelf/libelf_data.c +++ b/lib/libelf/libelf_data.c @@ -81,6 +81,8 @@ _libelf_xlate_shtype(uint32_t sht) return (ELF_T_MOVE); case SHT_SUNW_syminfo: return (ELF_T_SYMINFO); + case SHT_SUNW_dof: + return (ELF_T_BYTE); #endif case SHT_AMD64_UNWIND: /* == SHT_IA_64_UNWIND */ return (ELF_T_BYTE); |