diff options
author | Nick Clifton <nickc@redhat.com> | 2020-11-23 14:07:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2020-11-23 14:07:02 +0000 |
commit | f60742b2a1988d276c77d5c1011143f320d9b4cb (patch) | |
tree | 1d6169dbfb83984efad1a4bbdac29c562650433b /config.sub | |
parent | cbf097d7b024fad33d13cc43ff0d35f2e0b11898 (diff) | |
download | gdb-f60742b2a1988d276c77d5c1011143f320d9b4cb.zip gdb-f60742b2a1988d276c77d5c1011143f320d9b4cb.tar.gz gdb-f60742b2a1988d276c77d5c1011143f320d9b4cb.tar.bz2 |
Fix an illegal memory access when accessing corrupt dynamic secondary relocations.
PR 26931
* elf-bfd.h (struct elf_backend_data): Add bfd_boolean field to
slurp_secondary_relocs field.
(_bfd_elf_slurp_secondary_reloc_section): Update prototype.
* elf.c (_bfd_elf_slurp_secondary_reloc_section): Add new
parameter. Compute number of symbols based upon the new
parameter.
* elfcode.h (elf_slurp_reloc_table): Pass dynamic as new
parameter.
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions