From 0675e188654a7092145ac3b5933ecb6d0cf5c6a3 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand <uweigand@de.ibm.com> Date: Fri, 18 Dec 2009 16:21:51 +0000 Subject: 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. --- include/elf/ChangeLog | 4 ++++ include/elf/common.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'include/elf') 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. */ -- cgit v1.1