commit | fb9b7fbf17f50fcfabf6e3d7d06a93e1f17c52b7 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Thu Aug 24 10:52:19 2023 +0930 |
committer | Alan Modra <amodra@gmail.com> | Thu Aug 24 15:54:39 2023 +0930 |
tree | bbb1b44838dd32de708ae59886cddda29e7121d6 | |
parent | 8eb7b3a7dbc24de0c9c938f00f2387351045cbdf [diff] |
nds32, sh, kvx: DT_JMPREL/DT_PLTRELSZ As commit fa4f2d46f9 did for x86, there a few other targets that wrongly use the output section rather than the dynamic section for DT_JMPREL and others. * elfnn-kvx.c (elfNN_kvx_finish_dynamic_sections): Use input section for DT_JMPREL. * elf32-sh.c (sh_elf_finish_dynamic_sections): Use input section for DT_JMPREL and DT_PLTRELSZ. * elf32-nds32.c (nds32_elf_finish_dynamic_sections): Likewise, and for DT_PLTGOT and when adjusting DT_RELA.