From d7ded98f4cf9891cf04fe6af5c90b6af6709dff8 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 26 Oct 2018 10:20:56 -0700 Subject: 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. --- include/ChangeLog | 4 ++++ include/elf/common.h | 1 + 2 files changed, 5 insertions(+) (limited to 'include') diff --git a/include/ChangeLog b/include/ChangeLog index 0c692ee..f0ff0fa 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2018-10-26 John Baldwin + + * elf/common.h (AT_FREEBSD_HWCAP2): Define. + 2018-10-09 Sudakshina Das * opcode/aarch64.h (AARCH64_FEATURE_SSBS): New. diff --git a/include/elf/common.h b/include/elf/common.h index e194274..da9ea03 100644 --- a/include/elf/common.h +++ b/include/elf/common.h @@ -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. */ -- cgit v1.1