diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-06-30 03:15:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-06-30 03:15:46 +0000 |
commit | 28e70c7c4a540259e84eb3c4a5d7ee25c9b43364 (patch) | |
tree | a05f0b280ec736030b72720433e7be6f83794623 /bfd/elfcore.h | |
parent | ac94f0379d09b2d80941ea8568d353c7d29b4994 (diff) | |
download | binutils-redhat-28e70c7c4a540259e84eb3c4a5d7ee25c9b43364.tar.gz |
* 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.
Diffstat (limited to 'bfd/elfcore.h')
0 files changed, 0 insertions, 0 deletions