For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (litera...
authorDavid Meyer <pdox@google.com>
Wed, 15 Feb 2012 15:09:06 +0000 (15:09 +0000)
committerDavid Meyer <pdox@google.com>
Wed, 15 Feb 2012 15:09:06 +0000 (15:09 +0000)
commit5f7692604d44192206fbaf390085a95c9fb1a40b
tree55d04e26bcd0b4ebaf4fbacd11523f767a8f4bc2
parent4a1ff2fb3ecaa2576ecf9ed84816b174c235ac1d
For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCELFStreamer.cpp
test/MC/ELF/tls-i386.s
test/MC/ELF/tls.s