From 48ae99fac4010e6bbe5550fd914cc879091049fb Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Tue, 13 Sep 2011 18:55:33 +0000 Subject: [PATCH] Support for PSP is gone too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139622 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp b/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp index 4d120466d6a..26f34f4c77a 100644 --- a/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp +++ b/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp @@ -64,13 +64,8 @@ static MCAsmInfo *createMipsMCAsmInfo(const Target &T, StringRef TT) { 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; } -- 2.34.1