]> granicus.if.org Git - clang/commit
[PowerPC] Work around TLS linker bug
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 29 Jan 2015 19:08:51 +0000 (19:08 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Thu, 29 Jan 2015 19:08:51 +0000 (19:08 +0000)
commitc863fa3468fd62b4e709fadc8c0713422da568e4
treef781b9df707acbee750a539cb0f01af63caf8c7f
parent4779beea00d6c131705d6fbbc72d907433049e90
[PowerPC] Work around TLS linker bug

Work around a bug in GNU ld (and gold) linker versions up to 2.25
that may mis-optimize code generated by this version of clang/LLVM
to access general-dynamic or local-dynamic TLS variables.

Bug is fixed here:
https://sourceware.org/ml/binutils/2015-01/msg00318.html

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