This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] S390: Support guarded-storage core note sections
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>, binutils at sourceware dot org
- Cc: Martin Schwidefsky <schwidefsky at de dot ibm dot com>
- Date: Thu, 29 Jun 2017 09:30:45 +0200
- Subject: Re: [PATCH] S390: Support guarded-storage core note sections
- Authentication-results: sourceware.org; auth=none
- References: <m3h8z02g3q.fsf@oc1027705133.ibm.com>
On 06/28/2017 07:10 PM, Andreas Arnez wrote:
> Newer Linux kernel versions offer two new register sets in support of the
> z/Architecture's guarded storage facility: NT_S390_GS_CB, the
> "guarded-storage registers", and NT_S390_GS_BC, the "guarded-storage
> broadcast control block". This patch adds support for the respective core
> notes sections to binutils.
>
> bfd/
> * elf-bfd.h (elfcore_write_s390_gs_cb): Add prototype.
> (elfcore_write_s390_gs_bc): Likewise.
> * elf.c (elfcore_grok_s390_gs_cb): New function.
> (elfcore_grok_s390_gs_bc): New function.
> (elfcore_grok_note): Call them.
> (elfcore_write_s390_gs_cb): New function.
> (elfcore_write_s390_gs_bc): New function.
> (elfcore_write_register_note): Call them.
>
> binutils/
> * readelf.c (get_note_type): Add NT_S390_GS_CB and
> NT_S390_GS_BC.
>
> include/elf/
> * common.h (NT_S390_GS_CB): New macro.
> (NT_S390_GS_BC): Likewise.
Ok. Thanks!
-Andreas-