mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
Support for PSP is gone too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139622 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
516f52e24f
commit
48ae99fac4
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user