]> granicus.if.org Git - llvm/commit
Merging r308978:
authorHans Wennborg <hans@hanshq.net>
Wed, 26 Jul 2017 21:36:49 +0000 (21:36 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 26 Jul 2017 21:36:49 +0000 (21:36 +0000)
commit9a5c333388cbb54a0ce3a67c4f539f5e590a089b
treefa87813db2aecbf3f74178a16e100fa76603fce1
parentde90d748ddd4bcddb3c27932a2abeddcadc94984
Merging r308978:
------------------------------------------------------------------------
r308978 | fedor.sergeev | 2017-07-25 08:28:28 -0700 (Tue, 25 Jul 2017) | 16 lines

[Sparc] invalid adjustments in TLS_LE/TLS_LDO relocations removed

Summary:
Some SPARC TLS relocations were applying nontrivial adjustments
to zero value, leading to unexpected non-zero values in ELF and then
Solaris linker failures.

Getting rid of these adjustments.

Fixes PR33825.

Reviewers: rafael, asb, jyknight

Subscribers: joerg, jyknight, llvm-commits

Differential Revision: https://reviews.llvm.org/D35567
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@309187 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
test/MC/Sparc/sparc-tls-relocations.s [new file with mode: 0644]