summaryrefslogtreecommitdiff
path: root/bfd/elfcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfcore.h')
-rw-r--r--bfd/elfcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfcore.h b/bfd/elfcore.h
index ef71762e11..df3af0ce8d 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;
}