aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2014-01-30 19:12:35 +0100
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2014-01-30 19:12:35 +0100
commit718ee4dc9b09491707420ae403ad1ce8dfdb61b2 (patch)
treeb41fb874da5bf9d7d4baee2f2bb72ce2a1ae0552 /include
parenteaa9d1ad0e77540e8768ad11d8389f9408249237 (diff)
downloadgdb-718ee4dc9b09491707420ae403ad1ce8dfdb61b2.zip
gdb-718ee4dc9b09491707420ae403ad1ce8dfdb61b2.tar.gz
gdb-718ee4dc9b09491707420ae403ad1ce8dfdb61b2.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 8910d42..b9127b4 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2014-01-30 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * common.h (AT_HWCAP2): Define.
+
2013-12-13 Kuan-Lin Chen <kuanlinchentw@gmail.com>
Wei-Cheng Wang <cole945@gmail.com>
diff --git a/include/elf/common.h b/include/elf/common.h
index cd3bcdd..2e3e43a 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -959,6 +959,7 @@
#define AT_BASE_PLATFORM 24 /* String identifying real platform,
may differ from AT_PLATFORM. */
#define AT_RANDOM 25 /* Address of 16 random bytes. */
+#define AT_HWCAP2 26 /* Extension of AT_HWCAP. */
#define AT_EXECFN 31 /* Filename of executable. */
/* Pointer to the global system page used for system calls and other
nice things. */