This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] S390: Add support for core dump 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
- Date: Thu, 25 Aug 2016 17:42:59 +0200
- Subject: Re: [PATCH] S390: Add support for core dump NOTE sections
- Authentication-results: sourceware.org; auth=none
- References: <m38tvlgkdz.fsf@oc1027705133.ibm.com>
On 08/25/2016 01:26 PM, Andreas Arnez wrote:
> This enhances the 32-bit and 64-bit s390 ELF backends with support for
> reading and writing the core dump note sections NT_PRSTATUS and
> NT_PRPSINFO. Byte swapping is done as appropriate, such that core files
> can now be processed correctly on non-s390 platforms.
>
> bfd/ChangeLog:
>
> * elf32-s390.c (stdarg.h): New include.
> (elf_s390_grok_psinfo): New function.
> (elf_s390_write_core_note): New function.
> (elf_backend_grok_psinfo): Declare backend hook.
> (elf_backend_write_core_note): Likewise.
> * elf64-s390.c (stdarg.h): New include.
> (elf_s390_grok_prstatus): New function.
> (elf_s390_grok_psinfo): New function.
> (elf_s390_write_core_note): New function.
> (elf_backend_grok_prstatus): Declare backend hook.
> (elf_backend_grok_psinfo): Likewise.
> (elf_backend_write_core_note): Likewise.
Ok. Thanks!
-Andreas-