commit | b6d1f70cc7e948de99f91fc44d07c44686275fc4 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Wed Dec 08 20:04:25 2021 +1030 |
committer | Alan Modra <amodra@gmail.com> | Fri Dec 10 08:33:12 2021 +1030 |
tree | 18a575389f6374734af296155a876c832d38efce | |
parent | fe72c32765e1190c8a17d309fc3a7e1882d6a430 [diff] |
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.