diff options
author | Alan Modra <amodra@gmail.com> | 2022-01-13 10:59:30 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-01-13 14:12:43 +1030 |
commit | 9c3d7d9b7ed5f442fea1ddcb41fc1e0488f51588 (patch) | |
tree | b235b4cc382656f2fdc9e92832af28f08579b271 /gdb/unittests/vec-utils-selftests.c | |
parent | 0ae1246717ffbabda5d54be8def95f4424147c0f (diff) | |
download | gdb-9c3d7d9b7ed5f442fea1ddcb41fc1e0488f51588.zip gdb-9c3d7d9b7ed5f442fea1ddcb41fc1e0488f51588.tar.gz gdb-9c3d7d9b7ed5f442fea1ddcb41fc1e0488f51588.tar.bz2 |
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.
Diffstat (limited to 'gdb/unittests/vec-utils-selftests.c')
0 files changed, 0 insertions, 0 deletions