Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 15:34:29 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323585 - head/sys/x86/include
Message-ID:  <201709141534.v8EFYTMW074040@repo.freebsd.org>

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



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