BareMetal: Add support for V850 architecture in GCC toolchain

This commit adds support for the Renesas V850 atchitecture:

* https://www.renesas.com/us/en/products/microcontrollers-microprocessors/v850.html

using GCC toolchains.

Change-Id: I2224b3241040c02196b39ff013659d2b8c692208
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Denis Shienkov
2020-05-14 16:54:37 +03:00
parent 8f1be3f343
commit c21f2b4286

View File

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