forked from Imagelibrary/binutils-gdb
S390: Support new vector register sections
The IBM z13 has new 128-bit wide vector registers v0-v31, where v0-v15 include the existing 64-bit wide floating point registers. The Linux kernel presents the vector registers as two additional register sets, one for the right halves of v0-v15 and another one for the full registers v16-v31. Thus a new core file may contain two new register note sections, and this patch adds support to binutils for them. bfd/ * elf-bfd.h (elfcore_write_s390_vxrs_low): Add prototype. (elfcore_write_s390_vxrs_high): Likewise. * elf.c (elfcore_grok_s390_vxrs_low): New function. (elfcore_grok_s390_vxrs_high): New function. (elfcore_grok_note): Call them. (elfcore_write_s390_vxrs_low): New function. (elfcore_write_s390_vxrs_high): New function. (elfcore_write_register_note): Call them. binutils/ * readelf.c (get_note_type): Add NT_S390_VXRS_LOW and NT_S390_VXRS_HIGH. include/elf/ * common.h (NT_S390_VXRS_LOW): New macro. (NT_S390_VXRS_HIGH): Likewise.
This commit is contained in:
committed by
Andreas Krebbel
parent
dc049bf460
commit
4ef9f41a95
@@ -14513,6 +14513,10 @@ get_note_type (unsigned e_type)
|
||||
return _("NT_S390_SYSTEM_CALL (s390 system call restart data)");
|
||||
case NT_S390_TDB:
|
||||
return _("NT_S390_TDB (s390 transaction diagnostic block)");
|
||||
case NT_S390_VXRS_LOW:
|
||||
return _("NT_S390_VXRS_LOW (s390 vector registers 0-15 upper half)");
|
||||
case NT_S390_VXRS_HIGH:
|
||||
return _("NT_S390_VXRS_HIGH (s390 vector registers 16-31)");
|
||||
case NT_ARM_VFP:
|
||||
return _("NT_ARM_VFP (arm VFP registers)");
|
||||
case NT_ARM_TLS:
|
||||
|
||||
Reference in New Issue
Block a user