diff options
author | Alan Modra <amodra@gmail.com> | 2023-03-30 12:10:16 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-03-30 15:18:02 +1030 |
commit | 6b958fe36b765f70878e8d3d002864967c4bc3a4 (patch) | |
tree | e2e0d906f2a3f079e8ee0deb7785569dd7e4de50 /gprofng/libcollector | |
parent | ea7672c10e0b762c02fd40ce94d490b56bc14675 (diff) | |
download | gdb-6b958fe36b765f70878e8d3d002864967c4bc3a4.zip gdb-6b958fe36b765f70878e8d3d002864967c4bc3a4.tar.gz gdb-6b958fe36b765f70878e8d3d002864967c4bc3a4.tar.bz2 |
Setting sh_link for SHT_REL/SHT_RELA
It's wrong to have an alloc reloc section trying to use a non-alloc
symbol table.
* elf.c (assign_section_numbers <SHT_REL, SHT_RELA>): Correct
comment. Always set sh_link to .dynsym for alloc reloc
sections and to .symtab for non-alloc.
Diffstat (limited to 'gprofng/libcollector')
0 files changed, 0 insertions, 0 deletions