[PowerPC64] correct tprel offset limit
authorAlan Modra <amodra@gmail.com>
Thu, 18 Jul 2019 01:01:44 +0000 (10:31 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 18 Jul 2019 12:47:29 +0000 (22:17 +0930)
commit0b1474281c659919d9c63ccfd6891b9e9ed0fc9c
treef1c1869b254ebdeb28533461ef1b9bc5d988257b
parentd0044bac9eb6c5476d29c41872bcf8f74a990d4f
[PowerPC64] correct tprel offset limit

I don't expect anyone will have hit this bug.  You'd need a TLS
segment of 2G before you'd notice.

* elf64-ppc.c (ppc64_elf_tls_optimize): Correct test for allowed
range of tp-relative offsets.
bfd/ChangeLog
bfd/elf64-ppc.c