From a8f38f8aab5303bb6e0c6575508661b51b7aebc3 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Sun, 7 Jun 2020 15:04:49 +0300 Subject: [PATCH] ProjectExplorer: Recognize GCC ABI for Renesas SuperH architecture Now the ABI of GCC compiler for the Renesas SuperH architecture is deteted correctly. Change-Id: I788bc848fed4741b3bbc193e843b753884c7e209 Reviewed-by: hjk --- src/plugins/projectexplorer/abi.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index b6dd90b4481..e00ed091224 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -517,6 +517,12 @@ Abi Abi::abiFromTargetTriplet(const QString &triple) flavor = GenericFlavor; format = ElfFormat; width = 32; + } else if (p == "sh") { + arch = ShArchitecture; + os = BareMetalOS; + flavor = GenericFlavor; + format = ElfFormat; + width = 32; } else if (p == "v850") { arch = V850Architecture; os = BareMetalOS;