diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-12-18 16:21:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-12-18 16:21:51 +0000 |
commit | 70757043bf826f12853b27a4cbcaa62c09eb1066 (patch) | |
tree | 0a3053587cd5448e0ff10c80f326fcf47a79b8fd | |
parent | ae8547442be050ac348b805b4cb72ee239670c2f (diff) | |
download | cygnal-70757043bf826f12853b27a4cbcaa62c09eb1066.tar.gz cygnal-70757043bf826f12853b27a4cbcaa62c09eb1066.tar.bz2 cygnal-70757043bf826f12853b27a4cbcaa62c09eb1066.zip |
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.
-rw-r--r-- | include/elf/ChangeLog | 4 | ||||
-rw-r--r-- | include/elf/common.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 2befe5720..127f765ac 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 ff6aed222..361703de3 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. */ |