aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-12-18 16:21:51 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-12-18 16:21:51 +0000
commit0675e188654a7092145ac3b5933ecb6d0cf5c6a3 (patch)
treea2744bd0a329565897b5e2bcd97aaa6081667859 /include/elf
parent06ca79620f5d03763c1d9109a12da077939fb3e8 (diff)
downloadgdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.zip
gdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.tar.gz
gdb-0675e188654a7092145ac3b5933ecb6d0cf5c6a3.tar.bz2
include/elf/
* common.h (NT_S390_HIGH_GPRS): Define. bfd/ * elf.c (elfcore_grok_s390_high_gprs): New function. (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. (elfcore_write_s390_high_gprs): New function. (elfcore_write_register_note): Call it. binutils/ * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog4
-rw-r--r--include/elf/common.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 2befe57..127f765 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-18 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * common.h (NT_S390_HIGH_GPRS): Define.
+
2009-12-17 Alan Modra <amodra@bigpond.net.au>
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
diff --git a/include/elf/common.h b/include/elf/common.h
index ff6aed2..361703d 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -510,6 +510,8 @@
/* note name must be "LINUX". */
#define NT_PPC_VSX 0x102 /* PowerPC VSX registers */
/* note name must be "LINUX". */
+#define NT_S390_HIGH_GPRS 0x300 /* S/390 upper halves of GPRs */
+ /* note name must be "LINUX". */
/* Note segments for core files on dir-style procfs systems. */