diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-13 06:28:06 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-13 06:28:06 +0000 |
commit | b71b909bc76f48377fc96547d53a088346852600 (patch) | |
tree | 28cc4d39046f706a31051767e47ee87e01f2a679 /lib/Target/Mips/MipsSubtarget.cpp | |
parent | d4c00c0f558193b492aed9ab6aacf84bf1d3fb4e (diff) | |
download | external_llvm-b71b909bc76f48377fc96547d53a088346852600.zip external_llvm-b71b909bc76f48377fc96547d53a088346852600.tar.gz external_llvm-b71b909bc76f48377fc96547d53a088346852600.tar.bz2 |
reintroduce support for Mips "small" section handling. This is
implemented somewhat differently than before, but it should have
the same functionality and the previous testcase passes again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78900 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.cpp')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp index 956fe91..db114da 100644 --- a/lib/Target/Mips/MipsSubtarget.cpp +++ b/lib/Target/Mips/MipsSubtarget.cpp @@ -14,14 +14,8 @@ #include "MipsSubtarget.h" #include "Mips.h" #include "MipsGenSubtarget.inc" -#include "llvm/Support/CommandLine.h" using namespace llvm; -static cl::opt<unsigned> -SSThreshold("mips-ssection-threshold", cl::Hidden, - cl::desc("Small data and bss section threshold size (default=8)"), - cl::init(8)); - MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &FS, bool little) : MipsArchVersion(Mips1), MipsABI(O32), IsLittle(little), IsSingleFloat(false), @@ -35,9 +29,6 @@ MipsSubtarget::MipsSubtarget(const std::string &TT, const std::string &FS, // Parse features string. ParseSubtargetFeatures(FS, CPU); - // Small section size threshold - SSectionThreshold = SSThreshold; - // Is the target system Linux ? if (TT.find("linux") == std::string::npos) IsLinux = false; |