mips, // MIPS: mips, mipsallegrex
mipsel, // MIPSEL: mipsel, mipsallegrexel, psp
msp430, // MPS430: msp430
+ pic16, // PIC16: pic16
ppc, // PPC: powerpc
ppc64, // PPC64: powerpc64
sparc, // Sparc: sparc
MinGW64,
NetBSD,
OpenBSD,
+ Solaris,
Win32
};
case mips: return "mips";
case mipsel: return "mipsel";
case msp430: return "msp430";
+ case pic16: return "pic16";
case ppc64: return "powerpc64";
case ppc: return "powerpc";
case sparc: return "sparc";
case MinGW64: return "mingw64";
case NetBSD: return "netbsd";
case OpenBSD: return "openbsd";
+ case Solaris: return "solaris";
case Win32: return "win32";
}
return mipsel;
if (Name == "msp430")
return msp430;
+ if (Name == "pic16")
+ return pic16;
if (Name == "ppc64")
return ppc64;
if (Name == "ppc")
Arch = x86;
else if (ArchName == "amd64" || ArchName == "x86_64")
Arch = x86_64;
+ else if (ArchName == "pic16")
+ Arch = pic16;
else if (ArchName == "powerpc")
Arch = ppc;
else if (ArchName == "powerpc64")
Arch = sparc;
else if (ArchName == "s390x")
Arch = systemz;
- else if (ArchName == "bfin")
- Arch = bfin;
else
Arch = UnknownArch;
OS = NetBSD;
else if (OSName.startswith("openbsd"))
OS = OpenBSD;
+ else if (OSName.startswith("solaris"))
+ OS = Solaris;
else if (OSName.startswith("win32"))
OS = Win32;
else