diff options
author | Alan Modra <amodra@gmail.com> | 2017-08-26 20:26:13 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-08-26 20:52:07 +0930 |
commit | 7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405 (patch) | |
tree | 4ac61df0b1b27367f5d47c71e2f7c361e2cfea5e /cpu | |
parent | 988f6b3dc615173d6d78a76ac26c109b4582da74 (diff) | |
download | gdb-7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405.zip gdb-7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405.tar.gz gdb-7c8bbca5e670b5ea44b61ff30c5c7fcec47ee405.tar.bz2 |
PowerPC TPREL reloc handling
Tidy how these are handled in PIEs.
* elf32-ppc.c (must_be_dyn_reloc): Use bfd_link_dll. Comment.
(ppc_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
(ppc_elf_relocate_section): Comment fix.
* elf64-ppc.c (must_be_dyn_reloc): Use bfd_link_dll. Comment.
(ppc64_elf_check_relocs): Only set DF_STATIC_TLS in shared libs.
Support dynamic relocs for TPREL16 when non-pic too.
(dec_dynrel_count): Adjust TPREL16 handling as per check_relocs.
(ppc64_elf_relocate_section): Support dynamic relocs for TPREL16
when non-pic too.
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions