mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
Handle FreeBSD-specific AT_EHDRFLAGS and AT_HWCAP auxiliary vector types.
FreeBSD recently added two additional ELF auxiliary vectors. FreeBSD's AT_HWCAP uses a different number compared to AT_HWCAP on Linux as the numerical value was already in use for a different vector on FreeBSD. include/ChangeLog: * elf/common.h (AT_FREEBSD_EHDRFLAGS, AT_FREEBSD_HWCAP): Define. gdb/ChangeLog: * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_EHDRFLAGS and AT_HWCAP.
This commit is contained in:
@@ -1144,6 +1144,8 @@
|
||||
#define AT_FREEBSD_PAGESIZESLEN 21 /* Number of pagesizes. */
|
||||
#define AT_FREEBSD_TIMEKEEP 22 /* Pointer to timehands. */
|
||||
#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_SUN_UID 2000 /* Effective user ID. */
|
||||
#define AT_SUN_RUID 2001 /* Real user ID. */
|
||||
|
||||
Reference in New Issue
Block a user