Fix an illegal memory access problem when processing secondary relocs for architectur...
authorNick Clifton <nickc@redhat.com>
Thu, 29 Oct 2020 20:13:00 +0000 (20:13 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 29 Oct 2020 20:13:00 +0000 (20:13 +0000)
commit8ee54925b48985e8e7102221e698bf50b800dd81
treedad87ab9244a95bd369be61ec8a6f359837b49a7
parent59d5613e42589c6515a0bfe9baae522f164d20fa
Fix an illegal memory access problem when processing secondary relocs for architectures which support both REL and RELA relocs.

PR 26809
* elf.c (_bfd_elf_slurp_secondary_reloc_section): Use the correct
sized reloc reading function.
(_bfd_elf_write_secondary_reloc_section): Use the correct sized
reloc writing function.
bfd/ChangeLog
bfd/elf.c