summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMCallLowering.cpp
diff options
context:
space:
mode:
authorPeter Smith <peter.smith@linaro.org>2017-04-07 09:37:30 +0000
committerPeter Smith <peter.smith@linaro.org>2017-04-07 09:37:30 +0000
commit99a992343c73fe3c87fd38e1d0e626d29e3c874f (patch)
treec2e89e82143c3b3b32ab1f4d22cf5bd3e1bfa249 /llvm/lib/Target/ARM/ARMCallLowering.cpp
parenta630d0f01b7753afde06f9ed077289083728986a (diff)
downloadbcm5719-llvm-99a992343c73fe3c87fd38e1d0e626d29e3c874f.tar.gz
bcm5719-llvm-99a992343c73fe3c87fd38e1d0e626d29e3c874f.zip
[ELF] Fix ARM TLS global dynamic TlsOffsetRel for non-preemtible symbols
When the target of the TlsOffsetRel is non-preemptible we can write the offset directly into the GOT without needing a dynamic relocation. This is optional for dynamically linked executables but is required for static linking. This change adds the relocation to the GOT entry and a test case for non-0 offsets so that if we miss out the offset the test won't spuriously pass by virtue of the default value being 0. Differential Revision: https://reviews.llvm.org/D31749 llvm-svn: 299751
Diffstat (limited to 'llvm/lib/Target/ARM/ARMCallLowering.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud