Add support for AT_HWCAP2 auxv entry
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 30 Jan 2014 18:12:35 +0000 (19:12 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 30 Jan 2014 18:12:35 +0000 (19:12 +0100)
commit718ee4dc9b09491707420ae403ad1ce8dfdb61b2
treeb41fb874da5bf9d7d4baee2f2bb72ce2a1ae0552
parenteaa9d1ad0e77540e8768ad11d8389f9408249237
Add support for AT_HWCAP2 auxv entry

Recent ppc64 Linux kernels provide a new auxv entry AT_HWCAP2,
which is currently not recognized by GDB, causing every use of
"info auxv" to show an error.

This commit adds the AT_HWCAP2 define to include/elf/common.h
and handles it in GDB.

include/elf/ChangeLog:

* common.h (AT_HWCAP2): Define.

gdb/ChangeLog:

* auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
gdb/ChangeLog
gdb/auxv.c
include/elf/ChangeLog
include/elf/common.h