diff options
Diffstat (limited to 'llvm/lib/Target')
| -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()) |

