Pass a GlobalAddress instead of an ExternalSymbol to LowerCallTo in
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 8 Dec 2011 21:05:38 +0000 (21:05 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 8 Dec 2011 21:05:38 +0000 (21:05 +0000)
commit7a7194b5294661809ab37270c8ee5e94f8cdee18
tree5ed47bc2d94080603743d9e5aa3d5c88fa536c55
parent120313435d217d869bd2141b0cd8f4d99ae4b9a4
Pass a GlobalAddress instead of an ExternalSymbol to LowerCallTo in
MipsTargetLowering::LowerGlobalTLSAddress. This is necessary to have
call16(__tls_get_addr) emitted instead of got_disp(__tls_get_addr) when the
target is Mips64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146183 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsISelLowering.cpp