diff options
author | Alan Modra <amodra@gmail.com> | 2021-12-08 20:04:25 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-12-10 08:33:12 +1030 |
commit | b6d1f70cc7e948de99f91fc44d07c44686275fc4 (patch) | |
tree | 18a575389f6374734af296155a876c832d38efce /libctf/ctf-open.c | |
parent | fe72c32765e1190c8a17d309fc3a7e1882d6a430 (diff) | |
download | gdb-b6d1f70cc7e948de99f91fc44d07c44686275fc4.zip gdb-b6d1f70cc7e948de99f91fc44d07c44686275fc4.tar.gz gdb-b6d1f70cc7e948de99f91fc44d07c44686275fc4.tar.bz2 |
Set sh_link for reloc sections created as normal sections
binutils-all/strip-13 and binutils-all/strip-14 tests create
SHT_REL/SHT_RELA sections by hand. These don't have sh_link set to
the .symtab section as they should, leading to readelf warnings if you
happen to be looking at the object files.
* elf.c (assign_section_numbers): Formatting. Set sh_link for
reloc sections created as normal sections in relocatable
objects.
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions