summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsSubtarget.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-13 06:28:06 +0000
committerChris Lattner <sabre@nondot.org>2009-08-13 06:28:06 +0000
commitb71b909bc76f48377fc96547d53a088346852600 (patch)
tree28cc4d39046f706a31051767e47ee87e01f2a679 /lib/Target/Mips/MipsSubtarget.cpp
parentd4c00c0f558193b492aed9ab6aacf84bf1d3fb4e (diff)
downloadllvm-b71b909bc76f48377fc96547d53a088346852600.tar.gz
llvm-b71b909bc76f48377fc96547d53a088346852600.tar.bz2
llvm-b71b909bc76f48377fc96547d53a088346852600.tar.xz
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.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.cpp b/lib/Target/Mips/MipsSubtarget.cpp
index 956fe91754..db114da00d 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;