svn commit: r211192 - head/lib/libelf

Kai Wang kaiw at FreeBSD.org
Wed Aug 11 19:59:31 UTC 2010


Author: kaiw
Date: Wed Aug 11 19:59:31 2010
New Revision: 211192
URL: http://svn.freebsd.org/changeset/base/211192

Log:
  Add translation support for section type SHT_SUNW_dof.
  
  Submitted by:	rpaulo
  MFC after:	2 weeks

Modified:
  head/lib/libelf/libelf_data.c

Modified: head/lib/libelf/libelf_data.c
==============================================================================
--- head/lib/libelf/libelf_data.c	Wed Aug 11 19:56:09 2010	(r211191)
+++ head/lib/libelf/libelf_data.c	Wed Aug 11 19:59:31 2010	(r211192)
@@ -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);


More information about the svn-src-head mailing list