diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-06-24 04:00:19 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-06-24 04:00:31 -0700 |
commit | c679ec98a1296d8da3b5920a9058ba14b47ca3a4 (patch) | |
tree | 1669a20b5d12c0e4cb2561dd58f25b06f5b71fbb /gdb/symfile.c | |
parent | 5376d47f66d0e4e07b3d42cb62ad07327cad4292 (diff) | |
download | gdb-c679ec98a1296d8da3b5920a9058ba14b47ca3a4.zip gdb-c679ec98a1296d8da3b5920a9058ba14b47ca3a4.tar.gz gdb-c679ec98a1296d8da3b5920a9058ba14b47ca3a4.tar.bz2 |
cris: Don't generate unnecessary dynamic tags
Dynamic tags, DT_JMPREL, PLTREL and PLTRELSZ, are needed only if there
are relocation entries for PLT. Don't generate them if there are no
relocation entries for PLT.
bfd/
PR ld/26083
* elf32-cris.c (elf_cris_size_dynamic_sections): Call
_bfd_elf_add_dynamic_tags.
ld/
PR ld/26083
* testsuite/ld-cris/libdso-15b.d: Updated.
* testsuite/ld-cris/libdso-1c.d: Likewise.
* testsuite/ld-cris/libdso-1d.d: Likewise.
* testsuite/ld-cris/libdso-15c.d: New file.
Diffstat (limited to 'gdb/symfile.c')
0 files changed, 0 insertions, 0 deletions