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)
commitb4548299814ef9d90e2ae99bb628c82c944234ea
treeac57730f8521317bf1f06ed1485f36fbe68ee4d7
parent62e681744c4dbbb73d8f8200ad2777c02af3e66d
Fix missing relocation for TLS addressing peephole optimization.

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

llvm-svn: 176029
llvm/include/llvm/Support/ELF.h
llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
llvm/test/CodeGen/PowerPC/tls.ll