mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
It is not necessary to search for mipsallegrex in target triple string.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139607 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12c7e90d36
commit
2152307933
@ -66,8 +66,7 @@ static MCCodeGenInfo *createMipsMCCodeGenInfo(StringRef TT, Reloc::Model RM,
|
||||
MCCodeGenInfo *X = new MCCodeGenInfo();
|
||||
if (RM == Reloc::Default) {
|
||||
// Abicall enables PIC by default
|
||||
if (TT.find("mipsallegrex") != std::string::npos ||
|
||||
TT.find("psp") != std::string::npos)
|
||||
if (TT.find("psp") != std::string::npos)
|
||||
RM = Reloc::Static;
|
||||
else
|
||||
RM = Reloc::PIC_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user