summaryrefslogtreecommitdiffstats
path: root/lib/libelf/libelf_data.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-08-11 19:59:31 +0000
committerkaiw <kaiw@FreeBSD.org>2010-08-11 19:59:31 +0000
commit9198b19835979cee1b431f818f01d9859c25f48f (patch)
tree5add2767bc8a9e314951987491ec1503a5119773 /lib/libelf/libelf_data.c
parent012f95d3ece517478f48d3b7cf47d567186c1430 (diff)
downloadFreeBSD-src-9198b19835979cee1b431f818f01d9859c25f48f.zip
FreeBSD-src-9198b19835979cee1b431f818f01d9859c25f48f.tar.gz
Add translation support for section type SHT_SUNW_dof.
Submitted by: rpaulo MFC after: 2 weeks
Diffstat (limited to 'lib/libelf/libelf_data.c')
-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 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);
OpenPOWER on IntegriCloud