]> granicus.if.org Git - clang/commit
[PowerPC] Revert workaround for TLS linker bug
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 5 Feb 2015 01:12:24 +0000 (01:12 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Thu, 5 Feb 2015 01:12:24 +0000 (01:12 +0000)
commit789b2f76988a29c71afa0849dea8ce68767ab972
tree092047e9f5d19755e330a3e009523054d6d4eae4
parent8b5a5f304a97afc41b5d6753c989d31d8fdb0e8c
[PowerPC] Revert workaround for TLS linker bug

In r227480, Ulrich Weigand introduced a workaround for a linker
optimization bug that can create mis-optimized code for accesses to
general-dynamic or local-dynamic TLS variables.  The linker
optimization bug only occurred for Clang/LLVM because of some
inefficient code being generated for these TLS accesses.  I have
recently corrected LLVM to produce the efficient code sequence
expected by the linkers, so this workaround is no longer needed.
Therefore this patch reverts r227480.

I've tested that the previous bootstrap failure no longer occurs with
the workaround reverted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@228253 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/ppc-features.cpp