diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2009-08-03 02:22:28 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2009-08-03 02:22:28 +0000 |
commit | e2c74081998af2e64ed498d65cf501704796ccc0 (patch) | |
tree | 1d2bc6a9d597d16cbeaa8bf528c578dd9f9b2c80 /lib/Target/Mips/MipsSubtarget.h | |
parent | 5eca4525f42a99eec29be1676a7a77928853c521 (diff) | |
download | llvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.gz llvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.bz2 llvm-e2c74081998af2e64ed498d65cf501704796ccc0.tar.xz |
Remove -disable-mips-abicall and -enable-mips-absolute-call command-line
options, which don't appear to be useful. -enable-mips-absolute-call is
completely unused (and unless I'm mistaken, is supposed to have the
same effect that -relocation-model=dynamic-no-pic should have),
and -disable-mips-abicall appears to be effectively a
synonym for -relocation-model=static. Adjust the few users of hasABICall
to checks which seem more appropriate. Update MipsSubtarget,
MipsTargetMachine, and MipselTargetMachine to synchronize with recent
changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77938 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsSubtarget.h')
-rw-r--r-- | lib/Target/Mips/MipsSubtarget.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/Target/Mips/MipsSubtarget.h b/lib/Target/Mips/MipsSubtarget.h index 2485fef887..1d6f87d8c0 100644 --- a/lib/Target/Mips/MipsSubtarget.h +++ b/lib/Target/Mips/MipsSubtarget.h @@ -57,13 +57,6 @@ protected: // HasVFPU - Processor has a vector floating point unit. bool HasVFPU; - // IsABICall - Enable SRV4 code for SVR4-style dynamic objects - bool HasABICall; - - // HasAbsoluteCall - Enable code that is not fully position-independent. - // Only works with HasABICall enabled. - bool HasAbsoluteCall; - // isLinux - Target system is Linux. Is false we consider ELFOS for now. bool IsLinux; @@ -99,8 +92,7 @@ public: /// This constructor initializes the data members to match that /// of the specified triple. - MipsSubtarget(const TargetMachine &TM, const std::string &TT, - const std::string &FS, bool little); + MipsSubtarget(const std::string &TT, const std::string &FS, bool little); /// ParseSubtargetFeatures - Parses features string setting specified /// subtarget options. Definition of function is auto generated by tblgen. @@ -116,8 +108,6 @@ public: bool isSingleFloat() const { return IsSingleFloat; }; bool isNotSingleFloat() const { return !IsSingleFloat; }; bool hasVFPU() const { return HasVFPU; }; - bool hasABICall() const { return HasABICall; }; - bool hasAbsoluteCall() const { return HasAbsoluteCall; }; bool isLinux() const { return IsLinux; }; /// Features related to the presence of specific instructions. |