svn commit: r255105 - head/lib/libelf

Andrew Turner andrew at FreeBSD.org
Sat Aug 31 18:13:21 UTC 2013


Author: andrew
Date: Sat Aug 31 18:13:20 2013
New Revision: 255105
URL: http://svnweb.freebsd.org/changeset/base/255105

Log:
  Add support to the ARM platform specific section types.

Modified:
  head/lib/libelf/libelf_data.c

Modified: head/lib/libelf/libelf_data.c
==============================================================================
--- head/lib/libelf/libelf_data.c	Sat Aug 31 17:38:49 2013	(r255104)
+++ head/lib/libelf/libelf_data.c	Sat Aug 31 18:13:20 2013	(r255105)
@@ -84,13 +84,21 @@ _libelf_xlate_shtype(uint32_t sht)
 	case SHT_SUNW_dof:
 		return (ELF_T_BYTE);
 #endif
+	case SHT_ARM_PREEMPTMAP:
+		/* FALLTHROUGH */
+	case SHT_ARM_ATTRIBUTES:
+		/* FALLTHROUGH */
+	case SHT_ARM_DEBUGOVERLAY:
+		/* FALLTHROUGH */
+	case SHT_ARM_OVERLAYSECTION:
+		/* FALLTHROUGH */
 	case SHT_MIPS_DWARF:
 		/* FALLTHROUGH */
 	case SHT_MIPS_REGINFO:
 		/* FALLTHROUGH */
 	case SHT_MIPS_OPTIONS:
 		/* FALLTHROUGH */
-	case SHT_AMD64_UNWIND:	/* == SHT_IA_64_UNWIND */
+	case SHT_AMD64_UNWIND:	/* == SHT_IA_64_UNWIND == SHT_ARM_EXIDX */
 		return (ELF_T_BYTE);
 	default:
 		return (-1);


More information about the svn-src-head mailing list