Set DF_STATIC_TLS for PIEs
authorAlan Modra <amodra@gmail.com>
Wed, 2 Jul 2014 04:34:21 +0000 (14:04 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 2 Jul 2014 04:34:21 +0000 (14:04 +0930)
commitafb933145e2869c73c08db0995171d0d2e5b6296
tree733ad5ab233d24c714349213e25f10c974feab72
parent53a8cffa625b1b4fdf76e2dd0f0e9fc4b1bf0ab4
Set DF_STATIC_TLS for PIEs

If we can dlopen an object then DF_STATIC_TLS is relevant.

* elf32-ppc.c (ppc_elf_check_relocs): Set DF_STATIC_TLS for PIEs too.
* elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
bfd/ChangeLog
bfd/elf32-ppc.c
bfd/elf64-ppc.c