ProjectExplorer: Detect ABI for GCC MSP430 compiler

This GCC compiler provides by Texas Instruments
for the MSP430 architecture.

Change-Id: I3ce330d0a14bd338f9350291242dcc434bb0d19e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Denis Shienkov
2019-08-14 12:53:03 +03:00
parent 88c91b0586
commit 7c7201c56c

View File

@@ -492,6 +492,12 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
flavor = GenericFlavor;
format = ElfFormat;
width = 16;
} else if (p == "msp430") {
arch = Msp430Architecture;
os = BareMetalOS;
flavor = GenericFlavor;
format = ElfFormat;
width = 16;
} else if (p.startsWith("mips")) {
arch = MipsArchitecture;
width = p.contains("64") ? 64 : 32;