diff options
author | Alan Modra <amodra@gmail.com> | 2022-10-26 17:13:12 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-10-26 17:27:45 +1030 |
commit | 5dcae8f603b9379ef1c5f59331987322fd4d2126 (patch) | |
tree | 349aabe392eff8a546a0562e8dd115bfc9f7f082 /gdb/python/py-stopevent.c | |
parent | 4d664d5711b297ca6666f529e83bb624f587df77 (diff) | |
download | binutils-5dcae8f603b9379ef1c5f59331987322fd4d2126.zip binutils-5dcae8f603b9379ef1c5f59331987322fd4d2126.tar.gz binutils-5dcae8f603b9379ef1c5f59331987322fd4d2126.tar.bz2 |
Correct ELF reloc size sanity check
The external reloc size check was wrong. Here asect is the code/data
section, not the reloc section. So using this_hdr gave the size of
the code/data section.
* elf.c (_bfd_elf_get_reloc_upper_bound): Properly get
external size from reloc headers.
Diffstat (limited to 'gdb/python/py-stopevent.c')
0 files changed, 0 insertions, 0 deletions