[PR ld/22263] aarch64: Avoid dynamic TLS relocs in PIE
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 15 Nov 2017 17:40:04 +0000 (17:40 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 27 Nov 2017 11:53:04 +0000 (11:53 +0000)
commit6dda7875a8021787f11bd95a69d81a079e408a57
tree9aed5bba7e60cec86af4b3d5c3692f81e069d2a2
parenta377ae2ad683d3c16ae74dba440ee441120a7d8a
[PR ld/22263] aarch64: Avoid dynamic TLS relocs in PIE

No dynamic relocs are needed for TLS defined in an executable, the
TP relative offset is known at link time.

Fixes
FAIL: Build pr22263-1

bfd/
PR ld/22263
* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Use
bfd_link_executable instead of bfd_link_pic for TLS.
(elfNN_aarch64_allocate_dynrelocs): Likewise.
(aarch64_can_relax_tls): Likewise.
bfd/ChangeLog
bfd/elfnn-aarch64.c
This page took 0.023895 seconds and 4 git commands to generate.