Re: [PATCH 1/2] New entry points for writing Linux NT_PRPSINFO notes.

Alan Modra
2013-02-01T06:37:44Z

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