[mips] Correct r206370 to account for non-Linux targets using the small data section.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 16 Apr 2014 12:29:08 +0000 (12:29 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Wed, 16 Apr 2014 12:29:08 +0000 (12:29 +0000)
commit849ca451c875b4384196f2c9e96226f3b82e1756
tree887b2cb5a4273a790060c73f236ab25e25d52c49
parent8cc4741d85102a66ada1eb64f4e9fc8cef09f368
[mips] Correct r206370 to account for non-Linux targets using the small data section.

This should fix the ninja-x64-msvc-RA-centos6 builder.

I suspect the check in MipsSubtarget.cpp is incorrect and is really trying to
check for a bare-metal target rather and anything other than linux. I'll
investigate this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206385 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsSubtarget.cpp
test/CodeGen/Mips/cconv/return-float.ll
test/CodeGen/Mips/cconv/return-hard-float.ll
test/CodeGen/Mips/cconv/return.ll