diff options
author | Alan Modra <amodra@gmail.com> | 2001-06-30 04:05:13 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-06-30 04:05:13 +0000 |
commit | 936e320bf4cb4f8481ddc0757c04a9ccda1c85ab (patch) | |
tree | ff7213b09718a38846d4db076d023b2c97fc49bb /bfd/elfcore.h | |
parent | bb0082d686d9a84f29c7e6bb36736f68aa65169e (diff) | |
download | fsf-binutils-gdb-936e320bf4cb4f8481ddc0757c04a9ccda1c85ab.zip fsf-binutils-gdb-936e320bf4cb4f8481ddc0757c04a9ccda1c85ab.tar.gz fsf-binutils-gdb-936e320bf4cb4f8481ddc0757c04a9ccda1c85ab.tar.bz2 |
* elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directly
instead of _bfd_elfcore_section_from_phdr.
* elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove.
* elf.c (_bfd_elfcore_section_from_phdr): Remove.
(_bfd_elfcore_make_pseudosection): Expedite tail-call.
(elfcore_grok_prstatus): Likewise.
(elfcore_grok_lwpstatus): Likewise.
(bfd_get_elf_phdr_upper_bound): Likewise.
(elfcore_make_note_pseudosection): Formatting.
(_bfd_elfcore_strndup): Formatting.
* elf32-mips.c (mips_elf_sym_is_global): Formatting.
(_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r-- | bfd/elfcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcore.h b/bfd/elfcore.h index ef71762..df3af0c 100644 --- a/bfd/elfcore.h +++ b/bfd/elfcore.h @@ -206,7 +206,7 @@ elf_core_file_p (abfd) /* Process each program header. */ for (phindex = 0; phindex < i_ehdrp->e_phnum; ++phindex) { - if (!_bfd_elfcore_section_from_phdr (abfd, i_phdrp + phindex, phindex)) + if (! bfd_section_from_phdr (abfd, i_phdrp + phindex, phindex)) goto fail; } |