* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
authorAlan Modra <amodra@gmail.com>
Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)
committerAlan Modra <amodra@gmail.com>
Sat, 30 Jun 2001 03:15:46 +0000 (03:15 +0000)
commitbb0082d686d9a84f29c7e6bb36736f68aa65169e
tree2933920838b2b1c92be2905e6f923281367f2d21
parentb64977c5ff2661a4e20d2dcbf999b143670ac742
* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
and _bfd_elfcore_strndup.
(struct elf_backend_data): Add elf_backend_grok_prstatus
and elf_backend_grok_psinfo.
* elf.c (_bfd_elfcore_make_pseudosection): New function.
(elfcore_grok_prstatus): Use it.
(elfcore_make_note_pseudosection): Likewise.
(elfcore_strndup):  Rename to...
(_bfd_elfcore_strndup): Here, and make global.
(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
(elfcore_grok_note): Call elf_backend_grok_prstatus
and elf_backend_grok_psinfo if available.
* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
(_bfd_elf32_mips_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.
* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
(elf_backend_grok_psinfo): Likewise.
(elfNN_bed): Include elf_backend_grok_prstatus and
elf_backend_grok_psinfo.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-mips.c
bfd/elfxx-target.h
This page took 0.028793 seconds and 4 git commands to generate.