OSDN Git Service

* elf-bfd.h (struct elf_backend_data): Add elf_backend_write_core_note.
authoramodra <amodra>
Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)
committeramodra <amodra>
Thu, 1 Feb 2007 05:35:58 +0000 (05:35 +0000)
commit799c6d2d75db3a304b7503e3be272273044808bb
treec260bfa3e99e68505a2a7c609a5e52425789b67f
parent545ef771233ce0937f09def9e748418045113394
* 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