This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/2] New entry points for writing Linux NT_PRPSINFO notes.
- From: Alan Modra <amodra at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: binutils at sourceware dot org, jan dot kratochvil at redhat dot com, hongjiu dot lu at intel dot com, gdb-patches at sourceware dot org, sergiodj at redhat dot com
- Date: Fri, 1 Feb 2013 17:07:25 +1030
- Subject: Re: [PATCH 1/2] New entry points for writing Linux NT_PRPSINFO notes.
- References: <510AA7A3.4010702@redhat.com> <20130131230438.17941.90460.stgit@brno.lan>
On Thu, Jan 31, 2013 at 11:04:38PM +0000, Pedro Alves wrote:
> * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'.
> * elf-bfd.h (elf_internal_linux_prpsinfo): New structure
> declaration.
> (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64)
> (elfcore_write_ppc32_linux_prpsinfo32): New declarations.
> * elf-linux-psinfo.h: New file.
> * elf.c: Include elf-linux-psinfo.h.
> (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64):
> New functions.
> * elf32-ppc.c: Include `elf-linux-psinfo.h'.
> (elf_external_ppc_linux_prpsinfo32): New structure declaration.
> (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro.
> (elfcore_write_ppc_linux_prpsinfo32): New function.
Looks good to me.
--
Alan Modra
Australia Development Lab, IBM