commit | 9c3d7d9b7ed5f442fea1ddcb41fc1e0488f51588 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu Jan 13 10:59:30 2022 +1030 |
committer | Alan Modra <amodra@gmail.com> | Thu Jan 13 14:12:43 2022 +1030 |
tree | b235b4cc382656f2fdc9e92832af28f08579b271 | |
parent | 0ae1246717ffbabda5d54be8def95f4424147c0f [diff] |
Move DT_RELR tag setting to elflink.c This makes the code setting DT_RELR tags generally available. Many targets will be able to use the defaults. Those that can't should set up sh_entsize for .relr.dyn output section before reaching the dynamic tag code in bfd_elf_final_link. * elflink.c (bfd_elf_final_link): Set up DT_RELR tags and sh_entsize. * elfxx-x86.c (_bfd_x86_elf_finish_dynamic_sections): Don't do any of that here.