diff options
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index ccee076..5622aaa 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -1641,7 +1641,7 @@ ppc_elf_begin_write_processing (bfd *abfd, struct bfd_link_info *link_info) } if (bfd_seek (ibfd, asec->filepos, SEEK_SET) != 0 - || (bfd_bread (buffer, length, ibfd) != length)) + || (bfd_read (buffer, length, ibfd) != length)) { /* xgettext:c-format */ error_message = _("unable to read in %s section from %pB"); |