svn commit: r303677 - in head/sys: arm/include sys

Ed Maste emaste at FreeBSD.org
Tue Aug 2 20:26:05 UTC 2016


Author: emaste
Date: Tue Aug  2 20:26:04 2016
New Revision: 303677
URL: https://svnweb.freebsd.org/changeset/base/303677

Log:
  Move/add ARM ELF PHDR types to elf_common.h
  
  Accidentally missed in r303674

Modified:
  head/sys/arm/include/elf.h
  head/sys/sys/elf_common.h

Modified: head/sys/arm/include/elf.h
==============================================================================
--- head/sys/arm/include/elf.h	Tue Aug  2 20:25:22 2016	(r303676)
+++ head/sys/arm/include/elf.h	Tue Aug  2 20:26:04 2016	(r303677)
@@ -55,9 +55,6 @@ __ElfType(Auxinfo);
 
 #define	ELF_MACHINE_OK(x) ((x) == EM_ARM)
 
-/* Unwind info section type */
-#define	PT_ARM_EXIDX (PT_LOPROC + 1)
-
 /*
  * Relocation types.
  */

Modified: head/sys/sys/elf_common.h
==============================================================================
--- head/sys/sys/elf_common.h	Tue Aug  2 20:25:22 2016	(r303676)
+++ head/sys/sys/elf_common.h	Tue Aug  2 20:26:04 2016	(r303677)
@@ -511,6 +511,8 @@ typedef struct {
 #define	PT_HISUNW	0x6fffffff
 #define	PT_HIOS		0x6fffffff	/* Last OS-specific. */
 #define	PT_LOPROC	0x70000000	/* First processor-specific type. */
+#define	PT_ARM_ARCHEXT	0x70000000	/* ARM arch compat information. */
+#define	PT_ARM_EXIDX	0x70000001	/* ARM exception unwind tables. */
 #define	PT_HIPROC	0x7fffffff	/* Last processor-specific type. */
 
 /* Values for p_flags. */


More information about the svn-src-all mailing list