diff options
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r-- | bfd/elflink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h index 5aca205..4564cde 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -2123,7 +2123,7 @@ NAME(_bfd_elf,link_read_relocs) (abfd, o, external_relocs, internal_relocs, if (!elf_link_read_relocs_from_section (abfd, elf_section_data (o)->rel_hdr2, - external_relocs + rel_hdr->sh_size, + ((bfd_byte *) external_relocs) + rel_hdr->sh_size, internal_relocs + rel_hdr->sh_size / rel_hdr->sh_entsize)) goto error_return; |