diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-16 12:29:08 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2014-04-16 12:29:08 +0000 |
| commit | a024fb0e04aa6b9d000927899a9f32287402eb7a (patch) | |
| tree | 4ce0e7cfdf0a71ea201b3c696e10dfa4fb2a309d /llvm/lib | |
| parent | 0e61784ae5d95ea125f980af69e1257ab0e7209c (diff) | |
| download | bcm5719-llvm-a024fb0e04aa6b9d000927899a9f32287402eb7a.tar.gz bcm5719-llvm-a024fb0e04aa6b9d000927899a9f32287402eb7a.zip | |
[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.
llvm-svn: 206385
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Mips/MipsSubtarget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsSubtarget.cpp b/llvm/lib/Target/Mips/MipsSubtarget.cpp index 143b94599b2..ffc3d2f46df 100644 --- a/llvm/lib/Target/Mips/MipsSubtarget.cpp +++ b/llvm/lib/Target/Mips/MipsSubtarget.cpp @@ -131,6 +131,8 @@ MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &CPU, IsLinux = false; // Set UseSmallSection. + // TODO: Investigate the IsLinux check. I suspect it's really checking for + // bare-metal. UseSmallSection = !IsLinux && (RM == Reloc::Static); // set some subtarget specific features if (inMips16Mode()) |

