[llvm-commits] [llvm] r139622 - /llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
Akira Hatanaka
ahatanak at gmail.com
Tue Sep 13 11:55:33 PDT 2011
Author: ahatanak
Date: Tue Sep 13 13:55:33 2011
New Revision: 139622
URL: http://llvm.org/viewvc/llvm-project?rev=139622&view=rev
Log:
Support for PSP is gone too.
Modified:
llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
Modified: llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp?rev=139622&r1=139621&r2=139622&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp Tue Sep 13 13:55:33 2011
@@ -64,13 +64,8 @@
static MCCodeGenInfo *createMipsMCCodeGenInfo(StringRef TT, Reloc::Model RM,
CodeModel::Model CM) {
MCCodeGenInfo *X = new MCCodeGenInfo();
- if (RM == Reloc::Default) {
- // Abicall enables PIC by default
- if (TT.find("psp") != std::string::npos)
- RM = Reloc::Static;
- else
- RM = Reloc::PIC_;
- }
+ if (RM == Reloc::Default)
+ RM = Reloc::PIC_;
X->InitMCCodeGenInfo(RM, CM);
return X;
}
More information about the llvm-commits
mailing list