svn commit: r323585 - head/sys/x86/include

John Baldwin jhb at FreeBSD.org
Thu Sep 14 15:34:31 UTC 2017


Author: jhb
Date: Thu Sep 14 15:34:29 2017
New Revision: 323585
URL: https://svnweb.freebsd.org/changeset/base/323585

Log:
  Add AT_EHDRFLAGS and AT_HWCAP on amd64.
  
  x86 has two separate (but identical) list of AT_* constants and the
  earlier commit to add AT_HWCAP only updated the i386 list.

Modified:
  head/sys/x86/include/elf.h

Modified: head/sys/x86/include/elf.h
==============================================================================
--- head/sys/x86/include/elf.h	Thu Sep 14 15:07:48 2017	(r323584)
+++ head/sys/x86/include/elf.h	Thu Sep 14 15:34:29 2017	(r323585)
@@ -187,8 +187,10 @@ __ElfType(Auxinfo);
 #define	AT_PAGESIZESLEN	21	/* Number of pagesizes. */
 #define	AT_TIMEKEEP	22	/* Pointer to timehands. */
 #define	AT_STACKPROT	23	/* Initial stack protection. */
+#define	AT_EHDRFLAGS	24	/* e_flags field from elf hdr */
+#define	AT_HWCAP	25	/* CPU feature flags. */
 
-#define	AT_COUNT	24	/* Count of defined aux entry types. */
+#define	AT_COUNT	26	/* Count of defined aux entry types. */
 
 /*
  * Relocation types.


More information about the svn-src-all mailing list