aboutsummaryrefslogtreecommitdiff
path: root/gprofng/libcollector
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-03-30 12:10:16 +1030
committerAlan Modra <amodra@gmail.com>2023-03-30 15:18:02 +1030
commit6b958fe36b765f70878e8d3d002864967c4bc3a4 (patch)
treee2e0d906f2a3f079e8ee0deb7785569dd7e4de50 /gprofng/libcollector
parentea7672c10e0b762c02fd40ce94d490b56bc14675 (diff)
downloadgdb-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