Fix missing relocation for TLS addressing peephole optimization.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 25 Feb 2013 16:44:35 +0000 (16:44 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Mon, 25 Feb 2013 16:44:35 +0000 (16:44 +0000)
commitfc7695a653323071ec141aee994e4188592ad1f5
tree930347884b39b43adc5fee11eabc2eeb13891f72
parent7e6ffac9ab0af2a54036c978822ad40492246622
Fix missing relocation for TLS addressing peephole optimization.

Report and fix due to Kai Nacke.  Testcase update by me.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176029 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ELF.h
lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
test/CodeGen/PowerPC/tls.ll