From 70757043bf826f12853b27a4cbcaa62c09eb1066 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 18 Dec 2009 16:21:51 +0000 Subject: [PATCH] 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(+) 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 + + * common.h (NT_S390_HIGH_GPRS): Define. + 2009-12-17 Alan Modra * 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. */ -- 2.43.5