Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2016 20:26:04 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r303677 - in head/sys: arm/include sys
Message-ID:  <201608022026.u72KQ4Bh006844@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608022026.u72KQ4Bh006844>