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.
This commit is contained in:
jhb 2017-09-14 15:34:29 +00:00
parent 33bd334c8a
commit 37aff5708d

View File

@ -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.