* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
authorAlan Modra <amodra@gmail.com>
Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)
commit183e98bed26941bb85b3170a4620ac32b1f8f686
treeccdf42b35e549d13775da37fbc4a7a1697621945
parentb25b09cb7ee16880b59f80848071b623d1a20c8f
* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
* elfxx-target.h (elf_backend_write_core_note): Define and use.
* elf.c (elfcore_write_prpsinfo): Call the above.  Add support for
32-bit core note on 64-bit target.
(elfcore_write_prstatus): Likewise.
(elfcore_write_lwpstatus): Make note_name const.
(elfcore_write_prfpreg): Likewise.
(elfcore_write_pstatus): Add support for 32-bit core note on 64-bit
target.
* elf32-ppc.c (ppc_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
* elf64-ppc.c (ppc64_elf_write_core_note): New function.
(elf_backend_write_core_note): Define.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elfxx-target.h