Support AT_HWCAP2 on FreeBSD.

include/ChangeLog:

	* elf/common.h (AT_FREEBSD_HWCAP2): Define.

gdb/ChangeLog:

	* fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_HWCAP2.
This commit is contained in:
John Baldwin
2018-10-26 10:20:56 -07:00
parent 77c6f5fcda
commit d7ded98f4c
4 changed files with 10 additions and 0 deletions

View File

@ -1226,6 +1226,7 @@
#define AT_FREEBSD_STACKPROT 23 /* Initial stack protection. */
#define AT_FREEBSD_EHDRFLAGS 24 /* e_flags field from ELF header. */
#define AT_FREEBSD_HWCAP 25 /* CPU feature flags. */
#define AT_FREEBSD_HWCAP2 26 /* CPU feature flags 2. */
#define AT_SUN_UID 2000 /* Effective user ID. */
#define AT_SUN_RUID 2001 /* Real user ID. */