break;
}
break;
+ case llvm::Triple::mips64:
+ case llvm::Triple::mips64el:
+ if (hasMipsABIArg(Args, "o32"))
+ getFilePaths().push_back("=/usr/lib/o32");
+ else if (hasMipsABIArg(Args, "64"))
+ getFilePaths().push_back("=/usr/lib/64");
+ break;
default:
break;
}
break;
}
break;
+ case llvm::Triple::mips64:
+ case llvm::Triple::mips64el:
+ if (hasMipsABIArg(Args, "32")) {
+ CmdArgs.push_back("-m");
+ if (getToolChain().getArch() == llvm::Triple::mips64)
+ CmdArgs.push_back("elf32btsmip");
+ else
+ CmdArgs.push_back("elf32ltsmip");
+ } else if (hasMipsABIArg(Args, "64")) {
+ CmdArgs.push_back("-m");
+ if (getToolChain().getArch() == llvm::Triple::mips64)
+ CmdArgs.push_back("elf64btsmip");
+ else
+ CmdArgs.push_back("elf64ltsmip");
+ }
+ break;
default:
break;
}