From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web10.44195.1682312648731105488 for ; Sun, 23 Apr 2023 22:04:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@byosoft.com.cn header.s=cloud-union header.b=sIGDLX4w; spf=pass (domain: byosoft.com.cn, ip: 114.80.218.36, mailfrom: gaoliming@byosoft.com.cn) Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id DDBF5A32E243 for ; Mon, 24 Apr 2023 13:04:05 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=byosoft.com.cn; s=cloud-union; t=1682312646; bh=6D7NA8vr60czoI58CJ2OtyguI7+A66uwqJ2X3gZai1U=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=sIGDLX4wnlQGNVS3gjdDeA4/JqIpyEmpK7KhgYgBkO9U+tfXEIy/a29Je5n1kHnCg EWXgQbRbOwDQEf7gXlMAk7DK9J7SYqNBXmGyNX4AAlXKl5DD4kqmEIr+EAcnoZQhkf rk2c9AdvMC9iJPbFv4cPkyn5iGj7VFIrE8GmRtik= Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id C6C58A32E251 for ; Mon, 24 Apr 2023 13:04:05 +0800 (CST) Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id 4D5F6A32E1F9 for ; Mon, 24 Apr 2023 13:04:05 +0800 (CST) Authentication-Results: zrleap.intel-email.com; none Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id CDF36A32E1F4 for ; Mon, 24 Apr 2023 13:04:02 +0800 (CST) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Mon, 24 Apr 2023 13:03:54 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , , "'Bob Feng'" , "'Yuwei Chen'" , "'Michael D Kinney'" , "'Michael Kubacki'" , "'Sean Brogan'" , "'Chasel Chiu'" , "'Nate DeSimone'" , "'Star Zeng'" , "'Andrew Fish'" Cc: "'Ray Ni'" , "'Leif Lindholm'" , "'Zhiguang Liu'" , "'Jian J Wang'" , "'Xiaoyu Lu'" , "'Guomin Jiang'" , "'Gua Guo'" , "'Ard Biesheuvel'" , "'Pedro Falcato'" , "'Gerd Hoffmann'" , =?utf-8?Q?'Marvin_H=C3=A4user'?= References: <20230419195746.99074-1-rebecca@bsdio.com> <20230419195746.99074-10-rebecca@bsdio.com> <011a01d973f9$8e422210$aac66630$@byosoft.com.cn> <4bd3ca6a-805d-c92f-439d-b18e2141b8fd@bsdio.com> In-Reply-To: <4bd3ca6a-805d-c92f-439d-b18e2141b8fd@bsdio.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0g5Zue5aSNOiBbUEFUQ0ggdjQgMDkvMTNdIEJhc2VUb29scy9Db25mL3Rvb2xzX2RlZi50ZW1wbGF0ZTogQWRkIEdDQyBhbmQgR0NDTk9MVE8gdG9vbGNoYWlucw==?= Date: Mon, 24 Apr 2023 13:03:55 +0800 Message-ID: <053001d9766a$2c1317c0$84394740$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGealt5gHqEc24wT6EfRFc/tyT3jgJg1TPKAI5ihcQBNgu4Ra+O1WMw Sender: "gaoliming" Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn Rebecca: Thanks for your fix. New version patch is OK to me.=20 Thanks Liming > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io = =E4=BB=A3=E8=A1=A8 Rebecca Cran > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B44=E6=9C=8822=E6=97=A5 = 1:16 > =E6=94=B6=E4=BB=B6=E4=BA=BA: gaoliming ; devel@= edk2.groups.io; 'Bob > Feng' ; 'Yuwei Chen' ; > 'Michael D Kinney' ; 'Michael Kubacki' > ; 'Sean Brogan' > ; 'Chasel Chiu' ; 'Nate > DeSimone' ; 'Star Zeng' > ; 'Andrew Fish' > =E6=8A=84=E9=80=81: 'Ray Ni' ; 'Leif Lindholm' > ; 'Zhiguang Liu' ; 'Ji= an J > Wang' ; 'Xiaoyu Lu' ; > 'Guomin Jiang' ; 'Gua Guo' ; > 'Ard Biesheuvel' ; 'Pedro Falcato' > ; 'Gerd Hoffmann' ; 'Marvin > H=C3=A4user' > =E4=B8=BB=E9=A2=98: Re: [edk2-devel] =E5=9B=9E=E5=A4=8D: [PATCH v4 09/13] > BaseTools/Conf/tools_def.template: Add GCC and GCCNOLTO toolchains >=20 > Thanks, I've fixed the issues you noted and sent out a v5 series. >=20 > I kept your Reviewed-by on 01/13 despite making minor changes to fix the > build on Windows: I hope that was okay. >=20 >=20 > -- > Rebecca Cran >=20 >=20 > On 4/20/23 20:32, gaoliming wrote: > > Rebecca: > > I add my comments below. > > > >> -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > >> =E5=8F=91=E4=BB=B6=E4=BA=BA: Rebecca Cran > >> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2023=E5=B9=B44=E6=9C=8820=E6=97= =A5 3:58 > >> =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io; Liming Gao > ; > >> Bob Feng ; Yuwei Chen ; > >> Michael D Kinney ; Michael Kubacki > >> ; Sean Brogan > >> ; Chasel Chiu ; > Nate > >> DeSimone ; Star Zeng > >> ; Andrew Fish > >> =E6=8A=84=E9=80=81: Rebecca Cran ; Ray Ni ; > Leif > >> Lindholm ; Zhiguang Liu > >> ; Jian J Wang ; Xiaoyu = Lu > >> ; Guomin Jiang ; Gua > Guo > >> ; Ard Biesheuvel ; Pedro Falcato > >> ; Gerd Hoffmann ; > Marvin > >> H=C3=A4user > >> =E4=B8=BB=E9=A2=98: [PATCH v4 09/13] BaseTools/Conf/tools_def.template= : Add GCC and > >> GCCNOLTO toolchains > >> > >> Add a 'GCC' toolchain that's a copy of the existing GCC5 definition. > >> Add a 'GCCNOLTO' toolchain that's a copy of the existing GCC48 > >> toolchain. > >> > > GCCNOLTO is the replacement of GCC49, not GCC48. > > > > And, CryptoPkg\Library\OpensslLib\OpensslLib.inf has > GCC:*_GCC5_*_CC_FLAGS. New GCC:*_GCC_*_CC_FLAGS is required to be > added. > > > > Thanks > > Liming > >> Signed-off-by: Rebecca Cran > >> --- > >> UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc | 2 ++ > >> IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc | 9 > >> ++++++++- > >> EmulatorPkg/Unix/Host/Host.inf | 2 ++ > >> BaseTools/Conf/tools_def.template | 366 > >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > >> 4 files changed, 378 insertions(+), 1 deletion(-) > >> > >> diff --git a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc > >> b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc > >> index 7866c36e6693..b24ecdbf8661 100644 > >> --- a/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc > >> +++ b/UnitTestFrameworkPkg/UnitTestFrameworkPkgHost.dsc.inc > >> @@ -31,6 +31,8 @@ [BuildOptions] > >> !endif > >> GCC:*_GCC5_*_CC_FLAGS =3D --coverage > >> GCC:*_GCC5_*_DLINK_FLAGS =3D --coverage > >> + GCC:*_GCC_*_CC_FLAGS =3D --coverage > >> + GCC:*_GCC_*_DLINK_FLAGS =3D --coverage > >> [BuildOptions.common.EDKII.HOST_APPLICATION] > >> # > >> # MSFT > >> diff --git a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc > >> b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc > >> index 31558121185d..2db3854274c8 100644 > >> --- a/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc > >> +++ b/IntelFsp2Pkg/Tools/Tests/QemuFspPkg.dsc > >> @@ -461,10 +461,17 @@ [Components.IA32] > >> > >> > ############################################################## > >> ##################################### > >> [BuildOptions] > >> # Append build options for EDK and EDKII drivers (=3D is Append, =3D= =3D is > Replace) > >> - # Enable link-time optimization when building with GCC49 > >> + # Enable link-time optimization when building with GCC49 or > GCCNOLTO > >> *_GCC49_IA32_CC_FLAGS =3D -flto > >> *_GCC49_IA32_DLINK_FLAGS =3D -flto > >> + *_GCCNOLTO_IA32_CC_FLAGS =3D -flto > >> + *_GCCNOLTO_IA32_DLINK_FLAGS =3D -flto > >> *_GCC5_IA32_CC_FLAGS =3D -fno-pic > >> *_GCC5_IA32_DLINK_FLAGS =3D -no-pie > >> *_GCC5_IA32_ASLCC_FLAGS =3D -fno-pic > >> *_GCC5_IA32_ASLDLINK_FLAGS =3D -no-pie > >> + *_GCC_IA32_CC_FLAGS =3D -fno-pic > >> + *_GCC_IA32_DLINK_FLAGS =3D -no-pie > >> + *_GCC_IA32_ASLCC_FLAGS =3D -fno-pic > >> + *_GCC_IA32_ASLDLINK_FLAGS =3D -no-pie > >> + > >> diff --git a/EmulatorPkg/Unix/Host/Host.inf > >> b/EmulatorPkg/Unix/Host/Host.inf > >> index f5ebbed68344..90e8c36b6186 100644 > >> --- a/EmulatorPkg/Unix/Host/Host.inf > >> +++ b/EmulatorPkg/Unix/Host/Host.inf > >> @@ -123,7 +123,9 @@ [BuildOptions] > >> GCC:*_*_X64_CC_FLAGS =3D=3D -m64 -g -fshort-wchar > -fno-strict-aliasing > >> -Wall -malign-double -idirafter/usr/include -c -include > >> $(DEST_DIR_DEBUG)/AutoGen.h > >> -DSTRING_ARRAY_NAME=3D$(BASE_NAME)Strings > >> GCC:*_GCC48_X64_CC_FLAGS =3D > "-DEFIAPI=3D__attribute__((ms_abi))" > >> GCC:*_GCC49_X64_CC_FLAGS =3D > "-DEFIAPI=3D__attribute__((ms_abi))" > >> + GCC:*_GCCNOLTO_X64_CC_FLAGS =3D > >> "-DEFIAPI=3D__attribute__((ms_abi))" > >> GCC:*_GCC5_X64_CC_FLAGS =3D "-DEFIAPI=3D__attribute__((ms_abi))" > -flto > >> -DUSING_LTO -Os > >> + GCC:*_GCC_X64_CC_FLAGS =3D "-DEFIAPI=3D__attribute__((ms_abi))" > -flto > >> -DUSING_LTO -Os > >> GCC:*_*_X64_PP_FLAGS =3D=3D -m64 -E -x assembler-with-cpp > -include > >> $(DEST_DIR_DEBUG)/AutoGen.h > >> GCC:*_*_X64_ASM_FLAGS =3D=3D -m64 -c -x assembler -imacros > >> $(DEST_DIR_DEBUG)/AutoGen.h > >> > >> diff --git a/BaseTools/Conf/tools_def.template > >> b/BaseTools/Conf/tools_def.template > >> index 6fd03ee77ac6..36772b9fe34f 100755 > >> --- a/BaseTools/Conf/tools_def.template > >> +++ b/BaseTools/Conf/tools_def.template > >> @@ -77,8 +77,13 @@ DEFINE GCC48_X64_PREFIX =3D > >> ENV(GCC48_BIN) > >> DEFINE GCC49_IA32_PREFIX =3D ENV(GCC49_BIN) > >> DEFINE GCC49_X64_PREFIX =3D ENV(GCC49_BIN) > >> > >> +DEFINE GCCNOLTO_IA32_PREFIX =3D ENV(GCCNOLTO_BIN) > >> +DEFINE GCCNOLTO_X64_PREFIX =3D ENV(GCCNOLTO_BIN) > >> + > >> DEFINE GCC5_IA32_PREFIX =3D ENV(GCC5_BIN) > >> DEFINE GCC5_X64_PREFIX =3D ENV(GCC5_BIN) > >> +DEFINE GCC_IA32_PREFIX =3D ENV(GCC_BIN) > >> +DEFINE GCC_X64_PREFIX =3D ENV(GCC_BIN) > >> DEFINE GCC_HOST_PREFIX =3D ENV(GCC_HOST_BIN) > >> > >> DEFINE UNIX_IASL_BIN =3D ENV(IASL_PREFIX)iasl > >> @@ -1128,6 +1133,150 @@ > RELEASE_GCC49_AARCH64_DLINK_XIPFLAGS =3D > >> -z common-page-size=3D0x20 > >> NOOPT_GCC49_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC49_AARCH64_DLINK_FLAGS) -O0 > >> NOOPT_GCC49_AARCH64_DLINK_XIPFLAGS =3D -z > >> common-page-size=3D0x20 -O0 > >> > >> > +############################################################# > >> ####################### > >> +# > >> +# GCC NOLTO - This configuration is used to compile under Linux to > produce > >> +# PE/COFF binaries using GCC without Link Time > >> Optimization > >> +# > >> > +############################################################# > >> ####################### > >> +*_GCCNOLTO_*_*_FAMILY =3D GCC > >> + > >> +*_GCCNOLTO_*_MAKE_PATH =3D > >> DEF(GCC_HOST_PREFIX)make > >> +*_GCCNOLTO_*_*_DLL =3D > >> ENV(GCCNOLTO_DLL) > >> +*_GCCNOLTO_*_ASL_PATH =3D > DEF(UNIX_IASL_BIN) > >> + > >> +*_GCCNOLTO_*_PP_FLAGS =3D > DEF(GCC_PP_FLAGS) > >> +*_GCCNOLTO_*_ASLPP_FLAGS =3D > >> DEF(GCC_ASLPP_FLAGS) > >> +*_GCCNOLTO_*_ASLCC_FLAGS =3D > >> DEF(GCC_ASLCC_FLAGS) > >> +*_GCCNOLTO_*_VFRPP_FLAGS =3D > >> DEF(GCC_VFRPP_FLAGS) > >> +*_GCCNOLTO_*_APP_FLAGS =3D > >> +*_GCCNOLTO_*_ASL_FLAGS =3D DEF(IASL_FLAGS) > >> +*_GCCNOLTO_*_ASL_OUTFLAGS =3D > >> DEF(IASL_OUTFLAGS) > >> +*_GCCNOLTO_*_DEPS_FLAGS =3D > >> DEF(GCC_DEPS_FLAGS) > >> + > >> +################## > >> +# GCCNOLTO IA32 definitions > >> +################## > >> +*_GCCNOLTO_IA32_OBJCOPY_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)objcopy > >> +*_GCCNOLTO_IA32_CC_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_SLINK_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)ar > >> +*_GCCNOLTO_IA32_DLINK_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_ASLDLINK_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_ASM_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_PP_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_VFRPP_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_ASLCC_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_ASLPP_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)gcc > >> +*_GCCNOLTO_IA32_RC_PATH =3D > >> DEF(GCCNOLTO_IA32_PREFIX)objcopy > >> + > >> +*_GCCNOLTO_IA32_ASLCC_FLAGS =3D > DEF(GCC49_ASLCC_FLAGS) > >> -m32 > >> +*_GCCNOLTO_IA32_ASLDLINK_FLAGS =3D > >> DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 > >> +*_GCCNOLTO_IA32_ASM_FLAGS =3D > DEF(GCC49_ASM_FLAGS) > >> -m32 -march=3Di386 > >> +*_GCCNOLTO_IA32_DLINK_FLAGS =3D > >> DEF(GCC49_IA32_X64_DLINK_FLAGS) > -Wl,-m,elf_i386,--oformat=3Delf32-i386 > >> +*_GCCNOLTO_IA32_DLINK2_FLAGS =3D > >> DEF(GCC49_IA32_DLINK2_FLAGS) > >> +*_GCCNOLTO_IA32_RC_FLAGS =3D > DEF(GCC_IA32_RC_FLAGS) > >> +*_GCCNOLTO_IA32_OBJCOPY_FLAGS =3D > >> +*_GCCNOLTO_IA32_NASM_FLAGS =3D -f elf32 > >> + > >> + DEBUG_GCCNOLTO_IA32_CC_FLAGS =3D > >> DEF(GCC49_IA32_CC_FLAGS) > >> +RELEASE_GCCNOLTO_IA32_CC_FLAGS =3D > >> DEF(GCC49_IA32_CC_FLAGS) -Wno-unused-but-set-variable > >> -Wno-unused-const-variable > >> + NOOPT_GCCNOLTO_IA32_CC_FLAGS =3D > >> DEF(GCC49_IA32_CC_FLAGS) -O0 > >> + > >> +################## > >> +# GCCNOLTO X64 definitions > >> +################## > >> +*_GCCNOLTO_X64_OBJCOPY_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)objcopy > >> +*_GCCNOLTO_X64_CC_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_SLINK_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)ar > >> +*_GCCNOLTO_X64_DLINK_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_ASLDLINK_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_ASM_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_PP_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_VFRPP_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_ASLCC_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_ASLPP_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)gcc > >> +*_GCCNOLTO_X64_RC_PATH =3D > >> DEF(GCCNOLTO_X64_PREFIX)objcopy > >> + > >> +*_GCCNOLTO_X64_ASLCC_FLAGS =3D > DEF(GCC49_ASLCC_FLAGS) > >> -m64 > >> +*_GCCNOLTO_X64_ASLDLINK_FLAGS =3D > >> DEF(GCC49_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > >> +*_GCCNOLTO_X64_ASM_FLAGS =3D > DEF(GCC49_ASM_FLAGS) > >> -m64 > >> +*_GCCNOLTO_X64_DLINK_FLAGS =3D > >> DEF(GCC49_X64_DLINK_FLAGS) > >> +*_GCCNOLTO_X64_DLINK2_FLAGS =3D > >> DEF(GCC49_X64_DLINK2_FLAGS) > >> +*_GCCNOLTO_X64_RC_FLAGS =3D > DEF(GCC_X64_RC_FLAGS) > >> +*_GCCNOLTO_X64_OBJCOPY_FLAGS =3D > >> +*_GCCNOLTO_X64_NASM_FLAGS =3D -f elf64 > >> + > >> + DEBUG_GCCNOLTO_X64_CC_FLAGS =3D > >> DEF(GCC49_X64_CC_FLAGS) > >> +RELEASE_GCCNOLTO_X64_CC_FLAGS =3D > DEF(GCC49_X64_CC_FLAGS) > >> -Wno-unused-but-set-variable -Wno-unused-const-variable > >> + NOOPT_GCCNOLTO_X64_CC_FLAGS =3D > >> DEF(GCC49_X64_CC_FLAGS) -O0 > >> + > >> +################## > >> +# GCCNOLTO ARM definitions > >> +################## > >> +*_GCCNOLTO_ARM_CC_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_SLINK_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)ar > >> +*_GCCNOLTO_ARM_DLINK_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_ASLDLINK_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_ASM_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_PP_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_VFRPP_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_ASLCC_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_ASLPP_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)gcc > >> +*_GCCNOLTO_ARM_RC_PATH =3D > >> ENV(GCCNOLTO_ARM_PREFIX)objcopy > >> + > >> +*_GCCNOLTO_ARM_ASLCC_FLAGS =3D > DEF(GCC49_ASLCC_FLAGS) > >> +*_GCCNOLTO_ARM_ASLDLINK_FLAGS =3D > >> DEF(GCC49_ARM_ASLDLINK_FLAGS) > >> +*_GCCNOLTO_ARM_ASM_FLAGS =3D > >> DEF(GCC49_ARM_ASM_FLAGS) > >> +*_GCCNOLTO_ARM_DLINK_FLAGS =3D > >> DEF(GCC49_ARM_DLINK_FLAGS) > >> +*_GCCNOLTO_ARM_DLINK2_FLAGS =3D > >> DEF(GCC49_ARM_DLINK2_FLAGS) > >> +*_GCCNOLTO_ARM_DTCPP_FLAGS =3D > DEF(GCC_DTCPP_FLAGS) > >> +*_GCCNOLTO_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a > >> +*_GCCNOLTO_ARM_PP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_PP_FLAGS) > >> +*_GCCNOLTO_ARM_RC_FLAGS =3D > DEF(GCC_ARM_RC_FLAGS) > >> +*_GCCNOLTO_ARM_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_VFRPP_FLAGS) > >> +*_GCCNOLTO_ARM_CC_XIPFLAGS =3D > >> DEF(GCC49_ARM_CC_XIPFLAGS) > >> + > >> + DEBUG_GCCNOLTO_ARM_CC_FLAGS =3D > >> DEF(GCC49_ARM_CC_FLAGS) -O0 > >> +RELEASE_GCCNOLTO_ARM_CC_FLAGS =3D > >> DEF(GCC49_ARM_CC_FLAGS) -Wno-unused-but-set-variable > >> -Wno-unused-const-variable > >> + NOOPT_GCCNOLTO_ARM_CC_FLAGS =3D > >> DEF(GCC49_ARM_CC_FLAGS) -O0 > >> + > >> +################## > >> +# GCCNOLTO AARCH64 definitions > >> +################## > >> +*_GCCNOLTO_AARCH64_CC_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_SLINK_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)ar > >> +*_GCCNOLTO_AARCH64_DLINK_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_ASLDLINK_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_ASM_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_PP_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_VFRPP_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_ASLCC_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_ASLPP_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)gcc > >> +*_GCCNOLTO_AARCH64_RC_PATH =3D > >> ENV(GCCNOLTO_AARCH64_PREFIX)objcopy > >> + > >> +*_GCCNOLTO_AARCH64_ASLCC_FLAGS =3D > DEF(GCC49_ASLCC_FLAGS) > >> +*_GCCNOLTO_AARCH64_ASLDLINK_FLAGS =3D > >> DEF(GCC49_AARCH64_ASLDLINK_FLAGS) > >> +*_GCCNOLTO_AARCH64_ASM_FLAGS =3D > >> DEF(GCC49_AARCH64_ASM_FLAGS) > >> +*_GCCNOLTO_AARCH64_DLINK2_FLAGS =3D > >> DEF(GCC49_AARCH64_DLINK2_FLAGS) > >> +*_GCCNOLTO_AARCH64_DTCPP_FLAGS =3D > DEF(GCC_DTCPP_FLAGS) > >> +*_GCCNOLTO_AARCH64_PLATFORM_FLAGS =3D > >> +*_GCCNOLTO_AARCH64_PP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_PP_FLAGS) > >> +*_GCCNOLTO_AARCH64_RC_FLAGS =3D > >> DEF(GCC_AARCH64_RC_FLAGS) > >> +*_GCCNOLTO_AARCH64_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_VFRPP_FLAGS) > >> +*_GCCNOLTO_AARCH64_CC_XIPFLAGS =3D > >> DEF(GCC49_AARCH64_CC_XIPFLAGS) > >> + > >> + DEBUG_GCCNOLTO_AARCH64_CC_FLAGS =3D > >> DEF(GCC49_AARCH64_CC_FLAGS) -O0 > >> + DEBUG_GCCNOLTO_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC49_AARCH64_DLINK_FLAGS) > >> + DEBUG_GCCNOLTO_AARCH64_DLINK_XIPFLAGS =3D -z > >> common-page-size=3D0x20 > >> + > >> +RELEASE_GCCNOLTO_AARCH64_CC_FLAGS =3D > >> DEF(GCC49_AARCH64_CC_FLAGS) -Wno-unused-but-set-variable > >> -Wno-unused-const-variable > >> +RELEASE_GCCNOLTO_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC49_AARCH64_DLINK_FLAGS) > >> +RELEASE_GCCNOLTO_AARCH64_DLINK_XIPFLAGS =3D -z > >> common-page-size=3D0x20 > >> + > >> + NOOPT_GCCNOLTO_AARCH64_CC_FLAGS =3D > >> DEF(GCC49_AARCH64_CC_FLAGS) -O0 > >> + NOOPT_GCCNOLTO_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC49_AARCH64_DLINK_FLAGS) -O0 > >> + NOOPT_GCCNOLTO_AARCH64_DLINK_XIPFLAGS =3D -z > >> common-page-size=3D0x20 -O0 > >> + > >> > >> > ############################################################## > >> ###################### > >> # > >> # GCC 5 - This configuration is used to compile under Linux to produ= ce > >> @@ -1345,6 +1494,223 @@ RELEASE_GCC5_AARCH64_DLINK_XIPFLAGS > =3D > >> -z common-page-size=3D0x20 > >> DEBUG_GCC5_LOONGARCH64_CC_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_CC_FLAGS) > >> RELEASE_GCC5_LOONGARCH64_CC_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_CC_FLAGS) -Wno-unused-but-set-variable > >> -Wno-unused-variable > >> > >> > +############################################################# > >> ####################### > >> +# > >> +# GCC - This configuration is used to compile under Linux to produce > >> +# PE/COFF binaries using GCC 5 or newer > >> +# > >> > +############################################################# > >> ####################### > >> +*_GCC_*_*_FAMILY =3D GCC > >> + > >> +*_GCC_*_MAKE_PATH =3D DEF(GCC_HOST_PREFIX)make > >> +*_GCC_*_*_DLL =3D ENV(GCC_DLL) > >> +*_GCC_*_ASL_PATH =3D DEF(UNIX_IASL_BIN) > >> + > >> +*_GCC_*_PP_FLAGS =3D DEF(GCC_PP_FLAGS) > >> +*_GCC_*_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) > >> +*_GCC_*_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) > >> +*_GCC_*_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) > >> +*_GCC_*_APP_FLAGS =3D > >> +*_GCC_*_ASL_FLAGS =3D DEF(IASL_FLAGS) > >> +*_GCC_*_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) > >> +*_GCC_*_DEPS_FLAGS =3D DEF(GCC_DEPS_FLAGS) > >> + > >> +################## > >> +# GCC IA32 definitions > >> +################## > >> +*_GCC_IA32_OBJCOPY_PATH =3D > DEF(GCC_IA32_PREFIX)objcopy > >> +*_GCC_IA32_CC_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_SLINK_PATH =3D DEF(GCC_IA32_PREFIX)gcc-ar > >> +*_GCC_IA32_DLINK_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_ASLDLINK_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_ASM_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_PP_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_VFRPP_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_ASLCC_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_ASLPP_PATH =3D DEF(GCC_IA32_PREFIX)gcc > >> +*_GCC_IA32_RC_PATH =3D DEF(GCC_IA32_PREFIX)objcopy > >> + > >> +*_GCC_IA32_ASLCC_FLAGS =3D DEF(GCC5_ASLCC_FLAGS) -m32 > >> +*_GCC_IA32_ASLDLINK_FLAGS =3D > >> DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_i386 -no-pie > >> +*_GCC_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 > >> -march=3Di386 > >> +*_GCC_IA32_DLINK2_FLAGS =3D > DEF(GCC5_IA32_DLINK2_FLAGS) > >> -no-pie > >> +*_GCC_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) > >> +*_GCC_IA32_OBJCOPY_FLAGS =3D > >> +*_GCC_IA32_NASM_FLAGS =3D -f elf32 > >> + > >> + DEBUG_GCC_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) > -flto > >> + DEBUG_GCC_IA32_DLINK_FLAGS =3D > >> DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os > >> -Wl,-m,elf_i386,--oformat=3Delf32-i386 > >> + > >> +RELEASE_GCC_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) > -flto > >> -Wno-unused-but-set-variable -Wno-unused-const-variable > >> +RELEASE_GCC_IA32_DLINK_FLAGS =3D > >> DEF(GCC5_IA32_X64_DLINK_FLAGS) -flto -Os > >> -Wl,-m,elf_i386,--oformat=3Delf32-i386 > >> + > >> + NOOPT_GCC_IA32_CC_FLAGS =3D DEF(GCC5_IA32_CC_FLAGS) > -O0 > >> + NOOPT_GCC_IA32_DLINK_FLAGS =3D > >> DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,-m,elf_i386,--oformat=3Delf32-i386 > >> -O0 > >> + > >> +################## > >> +# GCC X64 definitions > >> +################## > >> +*_GCC_X64_OBJCOPY_PATH =3D DEF(GCC_X64_PREFIX)objcopy > >> +*_GCC_X64_CC_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_SLINK_PATH =3D DEF(GCC_X64_PREFIX)gcc-ar > >> +*_GCC_X64_DLINK_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_ASLDLINK_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_ASM_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_PP_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_VFRPP_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_ASLCC_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_ASLPP_PATH =3D DEF(GCC_X64_PREFIX)gcc > >> +*_GCC_X64_RC_PATH =3D DEF(GCC_X64_PREFIX)objcopy > >> + > >> +*_GCC_X64_ASLCC_FLAGS =3D DEF(GCC5_ASLCC_FLAGS) > -m64 > >> +*_GCC_X64_ASLDLINK_FLAGS =3D > >> DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -Wl,-m,elf_x86_64 > >> +*_GCC_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 > >> +*_GCC_X64_DLINK2_FLAGS =3D > DEF(GCC5_X64_DLINK2_FLAGS) > >> +*_GCC_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) > >> +*_GCC_X64_OBJCOPY_FLAGS =3D > >> +*_GCC_X64_NASM_FLAGS =3D -f elf64 > >> + > >> + DEBUG_GCC_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) > -flto > >> -DUSING_LTO > >> + DEBUG_GCC_X64_DLINK_FLAGS =3D > DEF(GCC5_X64_DLINK_FLAGS) > >> -flto -Os > >> + > >> +RELEASE_GCC_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) > -flto > >> -DUSING_LTO -Wno-unused-but-set-variable -Wno-unused-const-variable > >> +RELEASE_GCC_X64_DLINK_FLAGS =3D DEF(GCC5_X64_DLINK_FLAGS) > >> -flto -Os > >> + > >> + NOOPT_GCC_X64_CC_FLAGS =3D DEF(GCC5_X64_CC_FLAGS) > -O0 > >> + NOOPT_GCC_X64_DLINK_FLAGS =3D > DEF(GCC5_X64_DLINK_FLAGS) > >> -O0 > >> + > >> +################## > >> +# GCC ARM definitions > >> +################## > >> +*_GCC_ARM_CC_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_SLINK_PATH =3D > ENV(GCC_ARM_PREFIX)gcc-ar > >> +*_GCC_ARM_DLINK_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_ASLDLINK_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_ASM_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_PP_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_VFRPP_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_ASLCC_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_ASLPP_PATH =3D ENV(GCC_ARM_PREFIX)gcc > >> +*_GCC_ARM_RC_PATH =3D > ENV(GCC_ARM_PREFIX)objcopy > >> + > >> +*_GCC_ARM_ASLCC_FLAGS =3D DEF(GCC5_ASLCC_FLAGS) > >> +*_GCC_ARM_ASLDLINK_FLAGS =3D > >> DEF(GCC5_ARM_ASLDLINK_FLAGS) > >> +*_GCC_ARM_ASM_FLAGS =3D > DEF(GCC5_ARM_ASM_FLAGS) > >> +*_GCC_ARM_DLINK2_FLAGS =3D > DEF(GCC5_ARM_DLINK2_FLAGS) > >> +*_GCC_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) > >> +*_GCC_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a > >> -mfloat-abi=3Dsoft > >> +*_GCC_ARM_PP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_PP_FLAGS) > >> +*_GCC_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS) > >> +*_GCC_ARM_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_VFRPP_FLAGS) > >> +*_GCC_ARM_CC_XIPFLAGS =3D > DEF(GCC5_ARM_CC_XIPFLAGS) > >> + > >> + DEBUG_GCC_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) > >> -flto -Wno-unused-but-set-variable -Wno-unused-const-variable > >> + DEBUG_GCC_ARM_DLINK_FLAGS =3D > DEF(GCC5_ARM_DLINK_FLAGS) > >> -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm > >> -Wl,-plugin-opt=3D-pass-through=3D-llto-arm > >> + > >> +RELEASE_GCC_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) > >> -flto -Wno-unused-but-set-variable -Wno-unused-const-variable > >> +RELEASE_GCC_ARM_DLINK_FLAGS =3D > DEF(GCC5_ARM_DLINK_FLAGS) > >> -flto -Os -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm > >> -Wl,-plugin-opt=3D-pass-through=3D-llto-arm > >> + > >> + NOOPT_GCC_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) > >> -O0 > >> + NOOPT_GCC_ARM_DLINK_FLAGS =3D > DEF(GCC5_ARM_DLINK_FLAGS) > >> -O0 > >> + > >> +################## > >> +# GCC AARCH64 definitions > >> +################## > >> +*_GCC_AARCH64_CC_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_SLINK_PATH =3D > >> ENV(GCC_AARCH64_PREFIX)gcc-ar > >> +*_GCC_AARCH64_DLINK_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_ASLDLINK_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_ASM_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_PP_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_VFRPP_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_ASLCC_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_ASLPP_PATH =3D > ENV(GCC_AARCH64_PREFIX)gcc > >> +*_GCC_AARCH64_RC_PATH =3D > >> ENV(GCC_AARCH64_PREFIX)objcopy > >> + > >> +*_GCC_AARCH64_ASLCC_FLAGS =3D DEF(GCC5_ASLCC_FLAGS) > >> +*_GCC_AARCH64_ASLDLINK_FLAGS =3D > >> DEF(GCC5_AARCH64_ASLDLINK_FLAGS) > >> +*_GCC_AARCH64_ASM_FLAGS =3D > >> DEF(GCC5_AARCH64_ASM_FLAGS) > >> +*_GCC_AARCH64_DLINK2_FLAGS =3D > >> DEF(GCC5_AARCH64_DLINK2_FLAGS) > >> +*_GCC_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) > >> +*_GCC_AARCH64_PLATFORM_FLAGS =3D > >> +*_GCC_AARCH64_PP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_PP_FLAGS) > >> +*_GCC_AARCH64_RC_FLAGS =3D > DEF(GCC_AARCH64_RC_FLAGS) > >> DEF(GCC_AARCH64_RC_BTI_FLAGS) > >> +*_GCC_AARCH64_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) > >> DEF(GCC_VFRPP_FLAGS) > >> +*_GCC_AARCH64_CC_XIPFLAGS =3D > >> DEF(GCC5_AARCH64_CC_XIPFLAGS) > >> + > >> + DEBUG_GCC_AARCH64_CC_FLAGS =3D > >> DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno-unused-but-set-variable > >> -Wno-unused-const-variable > >> + DEBUG_GCC_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os > >> -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 > >> -Wl,-plugin-opt=3D-pass-through=3D-llto-aarch64 -Wno-lto-type-mismatch > >> + DEBUG_GCC_AARCH64_DLINK_XIPFLAGS =3D -z > common-page-size=3D0x20 > >> + > >> +RELEASE_GCC_AARCH64_CC_FLAGS =3D > DEF(GCC5_AARCH64_CC_FLAGS) > >> -flto -Wno-unused-but-set-variable -Wno-unused-const-variable > >> +RELEASE_GCC_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC5_AARCH64_DLINK_FLAGS) -flto -Os > >> -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 > >> -Wl,-plugin-opt=3D-pass-through=3D-llto-aarch64 -Wno-lto-type-mismatch > >> +RELEASE_GCC_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 > >> + > >> + NOOPT_GCC_AARCH64_CC_FLAGS =3D > >> DEF(GCC5_AARCH64_CC_FLAGS) -O0 > >> + NOOPT_GCC_AARCH64_DLINK_FLAGS =3D > >> DEF(GCC5_AARCH64_DLINK_FLAGS) -O0 > >> + NOOPT_GCC_AARCH64_DLINK_XIPFLAGS =3D -z > common-page-size=3D0x20 > >> -O0 > >> + > >> > +############################################################# > >> ####################### > >> +# > >> +# GCC RISC-V This configuration is used to compile under Linux to pro= duce > >> +# PE/COFF binaries using GCC RISC-V tool chain > >> +# > >> > +############################################################# > >> ####################### > >> + > >> +################## > >> +# GCC RISCV64 definitions > >> +################## > >> +*_GCC_RISCV64_OBJCOPY_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)objcopy > >> +*_GCC_RISCV64_CC_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_SLINK_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc-ar > >> +*_GCC_RISCV64_DLINK_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_ASLDLINK_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_ASM_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_PP_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_VFRPP_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_ASLCC_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_ASLPP_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)gcc > >> +*_GCC_RISCV64_RC_PATH =3D > >> ENV(GCC_RISCV64_PREFIX)objcopy > >> + > >> +*_GCC_RISCV64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) > >> +*_GCC_RISCV64_ASLDLINK_FLAGS =3D > >> DEF(GCC5_RISCV32_RISCV64_ASLDLINK_FLAGS) > >> +*_GCC_RISCV64_ASM_FLAGS =3D > >> DEF(GCC5_RISCV64_ASM_FLAGS) > >> +*_GCC_RISCV64_CC_FLAGS =3D > >> DEF(GCC5_RISCV64_CC_FLAGS) -save-temps > >> +*_GCC_RISCV64_DLINK_FLAGS =3D > >> DEF(GCC5_RISCV64_DLINK_FLAGS) > >> +*_GCC_RISCV64_DLINK2_FLAGS =3D > >> DEF(GCC5_RISCV64_DLINK2_FLAGS) > >> +*_GCC_RISCV64_RC_FLAGS =3D > >> DEF(GCC_RISCV64_RC_FLAGS) > >> +*_GCC_RISCV64_OBJCOPY_FLAGS =3D > >> +*_GCC_RISCV64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) > >> +*_GCC_RISCV64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) > >> DEF(GCC5_RISCV_OPENSBI_TYPES) > >> + > >> +################## > >> +# GCC LOONGARCH64 definitions > >> +################## > >> +*_GCC_LOONGARCH64_OBJCOPY_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)objcopy > >> +*_GCC_LOONGARCH64_CC_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_SLINK_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc-ar > >> +*_GCC_LOONGARCH64_DLINK_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_ASLDLINK_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_ASM_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_PP_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_VFRPP_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_ASLCC_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_ASLPP_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)gcc > >> +*_GCC_LOONGARCH64_RC_PATH =3D > >> ENV(GCC_LOONGARCH64_PREFIX)objcopy > >> + > >> +*_GCC_LOONGARCH64_ASLCC_FLAGS =3D > >> DEF(GCC_ASLCC_FLAGS) > >> +*_GCC_LOONGARCH64_ASLDLINK_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_ASLDLINK_FLAGS) > >> +*_GCC_LOONGARCH64_ASM_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_ASM_FLAGS) > >> +*_GCC_LOONGARCH64_DLINK_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_DLINK_FLAGS) > >> +*_GCC_LOONGARCH64_DLINK2_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_DLINK2_FLAGS) > >> +*_GCC_LOONGARCH64_RC_FLAGS =3D > >> DEF(GCC_LOONGARCH64_RC_FLAGS) > >> +*_GCC_LOONGARCH64_OBJCOPY_FLAGS =3D > >> +*_GCC_LOONGARCH64_NASM_FLAGS =3D -f elf32 > >> +*_GCC_LOONGARCH64_PP_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_PP_FLAGS) > >> + > >> +DEBUG_GCC_LOONGARCH64_CC_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_CC_FLAGS) > >> +RELEASE_GCC_LOONGARCH64_CC_FLAGS =3D > >> DEF(GCC5_LOONGARCH64_CC_FLAGS) -Wno-unused-but-set-variable > >> -Wno-unused-variable > >> + > >> > >> > ############################################################## > >> ###################### > >> # > >> # Clang - This configuration is used to compile under Linux to produ= ce > >> -- > >> 2.37.2 > > > > >=20 >=20 >=20 >=20