mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
Support AT_BSDFLAGS on FreeBSD.
FreeBSD's kernel recently added a new ELF auxiliary vector entry holding a mask of software features provided by the kernel. This change fixes 'info auxv' to report the name and description for this vector entry instead of '???'. include/ChangeLog: * elf/common.h (AT_FREEBSD_BSDFLAGS): Define. gdb/ChangeLog: * fbsd-tdep.c (fbsd_print_auxv_entry): Handle AT_FREEBSD_BSDFLAGS.
This commit is contained in:
@ -1251,6 +1251,7 @@
|
||||
#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_FREEBSD_BSDFLAGS 27 /* ELF BSD Flags. */
|
||||
|
||||
#define AT_SUN_UID 2000 /* Effective user ID. */
|
||||
#define AT_SUN_RUID 2001 /* Real user ID. */
|
||||
|
Reference in New Issue
Block a user