From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by mx.groups.io with SMTP id smtpd.web11.16560.1672934712962368800 for ; Thu, 05 Jan 2023 08:05:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fNWSJCle; spf=pass (domain: kernel.org, ip: 145.40.68.75, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 5E6DDB81B35; Thu, 5 Jan 2023 16:05:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7B38C433D2; Thu, 5 Jan 2023 16:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672934711; bh=0Ht9C0MyiIDzjwmUy7kigqFB6Stm5W5mQQ1ZRDaPaZk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fNWSJCleUteqiaGkK1pUSgBUPrb/kJcquub+zUSktRREwEtPrIGWSUJwLr0Zp+9Id S3JCtkciujNvmLW/bT4cXCKKLqrFK1DvX5AA/xg3+Dul1RZeqHOCGp/zMBLymTIOCt +7MdPXg8xCXefyFmP8GNkc1HHrvMdvqvfot5Zr4JrIXSUTop3Q4ugQoQmM3f50s1zj 0NIkzzZHpWjF/KFdr+AixiafdB/n52mW7BreNmWpId0k64kN/uF7hG6YyxLiVl8QOt vQmWSRatYVL+eZ86QSLrFvyTAtUToQeimZwwpvj+ErW0CzNtpt46dkeOWivLxyF/vp L6A7DxwtaPaGQ== From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: quic_llindhol@quicinc.com, rebecca@quicinc.com, bob.c.feng@intel.com, gaoliming@byosoft.com.cn, Ard Biesheuvel Subject: [PATCH 2/4] BaseTools/tools_def ARM AARCH64: Get rid of ARCHCC and ARCHASM flags Date: Thu, 5 Jan 2023 17:05:01 +0100 Message-Id: <20230105160503.1423627-3-ardb@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105160503.1423627-1-ardb@kernel.org> References: <20230105160503.1423627-1-ardb@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ARCHCC_FLAGS and ARCHASM_FLAGS no longer serve a useful purpose so drop all the definitions and references. Signed-off-by: Ard Biesheuvel --- BaseTools/Conf/tools_def.template | 89 +++++++++----------- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 4733040e3ef1..fe8d5a8ea5e8 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -1896,11 +1896,11 @@ DEFINE GCC48_IA32_DLINK2_FLAGS =3D -Wl,--defs= ym=3DPECOFF_HEADER_SIZE=3D0x220 DEF DEFINE GCC48_X64_DLINK_FLAGS =3D DEF(GCC48_IA32_X64_DLINK_FLAGS) -= Wl,-melf_x86_64,--oformat=3Delf64-x86-64,-pie=0D DEFINE GCC48_X64_DLINK2_FLAGS =3D -Wl,--defsym=3DPECOFF_HEADER_SIZE= =3D0x228 DEF(GCC_DLINK2_FLAGS_COMMON)=0D DEFINE GCC48_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS)=0D -DEFINE GCC48_ARM_ASM_FLAGS =3D $(ARCHASM_FLAGS) $(PLATFORM_FLAGS= ) DEF(GCC_ASM_FLAGS) -mlittle-endian=0D -DEFINE GCC48_AARCH64_ASM_FLAGS =3D $(ARCHASM_FLAGS) $(PLATFORM_FLAGS= ) DEF(GCC_ASM_FLAGS) -mlittle-endian=0D -DEFINE GCC48_ARM_CC_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)= DEF(GCC_ARM_CC_FLAGS) -fstack-protector -mword-relocations=0D +DEFINE GCC48_ARM_ASM_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_ASM_FLA= GS) -mlittle-endian=0D +DEFINE GCC48_AARCH64_ASM_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_ASM_FLA= GS) -mlittle-endian=0D +DEFINE GCC48_ARM_CC_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_ARM_CC_= FLAGS) -fstack-protector -mword-relocations=0D DEFINE GCC48_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS)=0D -DEFINE GCC48_AARCH64_CC_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)= -mcmodel=3Dlarge DEF(GCC_AARCH64_CC_FLAGS)=0D +DEFINE GCC48_AARCH64_CC_FLAGS =3D $(PLATFORM_FLAGS) -mcmodel=3Dlarg= e DEF(GCC_AARCH64_CC_FLAGS)=0D DEFINE GCC48_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS)=0D DEFINE GCC48_ARM_DLINK_FLAGS =3D DEF(GCC_ARM_DLINK_FLAGS) -Wl,--of= ormat=3Delf32-littlearm=0D DEFINE GCC48_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,= --defsym=3DPECOFF_HEADER_SIZE=3D0x220=0D @@ -1923,7 +1923,7 @@ DEFINE GCC49_ARM_ASM_FLAGS =3D DEF(GCC48_AR= M_ASM_FLAGS) DEFINE GCC49_AARCH64_ASM_FLAGS =3D DEF(GCC48_AARCH64_ASM_FLAGS)=0D DEFINE GCC49_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC_FLAGS)=0D DEFINE GCC49_ARM_CC_XIPFLAGS =3D DEF(GCC48_ARM_CC_XIPFLAGS)=0D -DEFINE GCC49_AARCH64_CC_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)= DEF(GCC48_ALL_CC_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -mcmodel=3Dsmall=0D +DEFINE GCC49_AARCH64_CC_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC48_ALL_C= C_FLAGS) DEF(GCC_AARCH64_CC_FLAGS) -mcmodel=3Dsmall=0D DEFINE GCC49_AARCH64_CC_XIPFLAGS =3D DEF(GCC48_AARCH64_CC_XIPFLAGS)=0D DEFINE GCC49_ARM_DLINK_FLAGS =3D DEF(GCC48_ARM_DLINK_FLAGS)=0D DEFINE GCC49_ARM_DLINK2_FLAGS =3D DEF(GCC48_ARM_DLINK2_FLAGS)=0D @@ -2070,9 +2070,6 @@ RELEASE_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC= _FLAGS) -Os -Wno-unused-but-s *_GCC48_ARM_ASLPP_PATH =3D ENV(GCC48_ARM_PREFIX)gcc=0D *_GCC48_ARM_RC_PATH =3D ENV(GCC48_ARM_PREFIX)objcopy=0D =0D -*_GCC48_ARM_ARCHCC_FLAGS =3D -mthumb=0D -*_GCC48_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -=0D *_GCC48_ARM_ASLCC_FLAGS =3D DEF(GCC48_ASLCC_FLAGS)=0D *_GCC48_ARM_ASLDLINK_FLAGS =3D DEF(GCC48_ARM_ASLDLINK_FLAGS)=0D *_GCC48_ARM_ASM_FLAGS =3D DEF(GCC48_ARM_ASM_FLAGS)=0D @@ -2080,9 +2077,9 @@ RELEASE_GCC48_X64_CC_FLAGS =3D DEF(GCC48_X64_CC= _FLAGS) -Os -Wno-unused-but-s *_GCC48_ARM_DLINK2_FLAGS =3D DEF(GCC48_ARM_DLINK2_FLAGS)=0D *_GCC48_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC48_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -*_GCC48_ARM_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC48_ARM_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC48_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS)=0D -*_GCC48_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC48_ARM_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC48_ARM_CC_XIPFLAGS =3D DEF(GCC48_ARM_CC_XIPFLAGS)=0D =0D DEBUG_GCC48_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC_FLAGS) -O0=0D @@ -2110,9 +2107,9 @@ RELEASE_GCC48_ARM_CC_FLAGS =3D DEF(GCC48_ARM_CC= _FLAGS) -Wno-unused-but-set-v *_GCC48_AARCH64_DLINK2_FLAGS =3D DEF(GCC48_AARCH64_DLINK2_FLAGS)=0D *_GCC48_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC48_AARCH64_PLATFORM_FLAGS =3D=0D -*_GCC48_AARCH64_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC48_AARCH64_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC48_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS)=0D -*_GCC48_AARCH64_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC48_AARCH64_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC48_AARCH64_CC_XIPFLAGS =3D DEF(GCC48_AARCH64_CC_XIPFLAGS)=0D =0D DEBUG_GCC48_AARCH64_CC_FLAGS =3D DEF(GCC48_AARCH64_CC_FLAGS) -O0=0D @@ -2210,9 +2207,6 @@ RELEASE_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC= _FLAGS) -Os -Wno-unused-but-s *_GCC49_ARM_ASLPP_PATH =3D ENV(GCC49_ARM_PREFIX)gcc=0D *_GCC49_ARM_RC_PATH =3D ENV(GCC49_ARM_PREFIX)objcopy=0D =0D -*_GCC49_ARM_ARCHCC_FLAGS =3D -mthumb=0D -*_GCC49_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -=0D *_GCC49_ARM_ASLCC_FLAGS =3D DEF(GCC49_ASLCC_FLAGS)=0D *_GCC49_ARM_ASLDLINK_FLAGS =3D DEF(GCC49_ARM_ASLDLINK_FLAGS)=0D *_GCC49_ARM_ASM_FLAGS =3D DEF(GCC49_ARM_ASM_FLAGS)=0D @@ -2220,9 +2214,9 @@ RELEASE_GCC49_X64_CC_FLAGS =3D DEF(GCC49_X64_CC= _FLAGS) -Os -Wno-unused-but-s *_GCC49_ARM_DLINK2_FLAGS =3D DEF(GCC49_ARM_DLINK2_FLAGS)=0D *_GCC49_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC49_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -*_GCC49_ARM_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC49_ARM_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC49_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS)=0D -*_GCC49_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC49_ARM_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC49_ARM_CC_XIPFLAGS =3D DEF(GCC49_ARM_CC_XIPFLAGS)=0D =0D DEBUG_GCC49_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC_FLAGS) -O0=0D @@ -2249,9 +2243,9 @@ RELEASE_GCC49_ARM_CC_FLAGS =3D DEF(GCC49_ARM_CC= _FLAGS) -Wno-unused-but-set-v *_GCC49_AARCH64_DLINK2_FLAGS =3D DEF(GCC49_AARCH64_DLINK2_FLAGS)=0D *_GCC49_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC49_AARCH64_PLATFORM_FLAGS =3D=0D -*_GCC49_AARCH64_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC49_AARCH64_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC49_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS)=0D -*_GCC49_AARCH64_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC49_AARCH64_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC49_AARCH64_CC_XIPFLAGS =3D DEF(GCC49_AARCH64_CC_XIPFLAGS)=0D =0D DEBUG_GCC49_AARCH64_CC_FLAGS =3D DEF(GCC49_AARCH64_CC_FLAGS) -O0=0D @@ -2365,16 +2359,15 @@ RELEASE_GCC5_X64_DLINK_FLAGS =3D DEF(GCC5_X64_D= LINK_FLAGS) -flto -Os *_GCC5_ARM_ASLPP_PATH =3D ENV(GCC5_ARM_PREFIX)gcc=0D *_GCC5_ARM_RC_PATH =3D ENV(GCC5_ARM_PREFIX)objcopy=0D =0D -*_GCC5_ARM_ARCHCC_FLAGS =3D -mthumb=0D *_GCC5_ARM_ASLCC_FLAGS =3D DEF(GCC5_ASLCC_FLAGS)=0D *_GCC5_ARM_ASLDLINK_FLAGS =3D DEF(GCC5_ARM_ASLDLINK_FLAGS)=0D *_GCC5_ARM_ASM_FLAGS =3D DEF(GCC5_ARM_ASM_FLAGS)=0D *_GCC5_ARM_DLINK2_FLAGS =3D DEF(GCC5_ARM_DLINK2_FLAGS)=0D *_GCC5_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC5_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -*_GCC5_ARM_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC5_ARM_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC5_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS)=0D -*_GCC5_ARM_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC5_ARM_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC5_ARM_CC_XIPFLAGS =3D DEF(GCC5_ARM_CC_XIPFLAGS)=0D =0D DEBUG_GCC5_ARM_CC_FLAGS =3D DEF(GCC5_ARM_CC_FLAGS) -flto -Wno-unu= sed-but-set-variable -Wno-unused-const-variable=0D @@ -2406,9 +2399,9 @@ RELEASE_GCC5_ARM_DLINK_FLAGS =3D DEF(GCC5_ARM_DLI= NK_FLAGS) -flto -Os -L$(WORKS *_GCC5_AARCH64_DLINK2_FLAGS =3D DEF(GCC5_AARCH64_DLINK2_FLAGS)=0D *_GCC5_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS)=0D *_GCC5_AARCH64_PLATFORM_FLAGS =3D=0D -*_GCC5_AARCH64_PP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_PP_FLAGS)=0D +*_GCC5_AARCH64_PP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_PP_FLAGS)=0D *_GCC5_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS)=0D -*_GCC5_AARCH64_VFRPP_FLAGS =3D $(ARCHCC_FLAGS) $(PLATFORM_FLAGS) DEF= (GCC_VFRPP_FLAGS)=0D +*_GCC5_AARCH64_VFRPP_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_VFRPP_FLAGS= )=0D *_GCC5_AARCH64_CC_XIPFLAGS =3D DEF(GCC5_AARCH64_CC_XIPFLAGS)=0D =0D DEBUG_GCC5_AARCH64_CC_FLAGS =3D DEF(GCC5_AARCH64_CC_FLAGS) -flto -Wno= -unused-but-set-variable -Wno-unused-const-variable=0D @@ -2529,19 +2522,19 @@ DEFINE CLANG35_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH6= 4_CC_FLAGS) DEF(CLANG35_AARCH64 =0D *_CLANG35_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS)=0D *_CLANG35_ARM_ASLDLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_A= SLDLINK_FLAGS)=0D -*_CLANG35_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TA= RGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments=0D +*_CLANG35_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TA= RGET) $(PLATFORM_FLAGS) -Qunused-arguments=0D *_CLANG35_ARM_DLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_D= LINK_FLAGS)=0D *_CLANG35_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x220=0D *_CLANG35_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a -mkernel -Qunused-ar= guments=0D -*_CLANG35_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TAR= GET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG35_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TAR= GET) $(PLATFORM_FLAGS)=0D *_CLANG35_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS)=0D -*_CLANG35_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_= TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG35_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_= TARGET) $(PLATFORM_FLAGS)=0D *_CLANG35_ARM_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_ARM_= TARGET)=0D *_CLANG35_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS)=0D =0D - DEBUG_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -O1=0D -RELEASE_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -Oz=0D - NOOPT_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -O0=0D + DEBUG_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O1=0D +RELEASE_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -Oz=0D + NOOPT_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O0=0D =0D ##################=0D # CLANG35 AARCH64 definitions=0D @@ -2551,20 +2544,20 @@ RELEASE_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_AR= M_CC_FLAGS) $(ARCHCC_FLAGS) $(P =0D *_CLANG35_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS)=0D *_CLANG35_AARCH64_ASLDLINK_FLAGS =3D DEF(CLANG35_AARCH64_TARGET) DEF(GCC_A= ARCH64_ASLDLINK_FLAGS)=0D -*_CLANG35_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_AARCH6= 4_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments=0D +*_CLANG35_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_AARCH6= 4_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments=0D *_CLANG35_AARCH64_DLINK_FLAGS =3D DEF(CLANG35_AARCH64_TARGET) DEF(GCC_A= ARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000=0D *_CLANG35_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20=0D *_CLANG35_AARCH64_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x228=0D *_CLANG35_AARCH64_PLATFORM_FLAGS =3D=0D -*_CLANG35_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_AARCH64= _TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG35_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_AARCH64= _TARGET) $(PLATFORM_FLAGS)=0D *_CLANG35_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS)=0D -*_CLANG35_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_AARC= H64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG35_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_AARC= H64_TARGET) $(PLATFORM_FLAGS)=0D *_CLANG35_AARCH64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_AARC= H64_TARGET)=0D *_CLANG35_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS)=0D =0D - DEBUG_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHC= C_FLAGS) $(PLATFORM_FLAGS) -O1=0D -RELEASE_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHC= C_FLAGS) $(PLATFORM_FLAGS) -Oz=0D - NOOPT_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(ARCHC= C_FLAGS) $(PLATFORM_FLAGS) -O0=0D + DEBUG_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -O1=0D +RELEASE_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -Oz=0D + NOOPT_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -O0=0D =0D ##########################################################################= ##########=0D #=0D @@ -2692,20 +2685,20 @@ DEFINE CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_AR= M_TARGET) DEF(GCC_ARM_DLINK_FLA =0D *_CLANG38_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto=0D *_CLANG38_ARM_ASLDLINK_FLAGS =3D DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_A= SLDLINK_FLAGS)=0D -*_CLANG38_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_ARM_TA= RGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments=0D +*_CLANG38_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_ARM_TA= RGET) $(PLATFORM_FLAGS) -Qunused-arguments=0D *_CLANG38_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x220=0D *_CLANG38_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a=0D -*_CLANG38_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_ARM_TAR= GET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG38_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_ARM_TAR= GET) $(PLATFORM_FLAGS)=0D *_CLANG38_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS)=0D -*_CLANG38_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_ARM_= TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG38_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_ARM_= TARGET) $(PLATFORM_FLAGS)=0D *_CLANG38_ARM_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_ARM_= TARGET)=0D *_CLANG38_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS)=0D =0D - DEBUG_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -flto -O1=0D + DEBUG_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -flto -O1=0D DEBUG_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS) -flto -W= l,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=3D-pas= s-through=3D-llto-arm=0D - NOOPT_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -O0=0D + NOOPT_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O0=0D NOOPT_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS)=0D -RELEASE_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(ARCHCC_FL= AGS) $(PLATFORM_FLAGS) -flto -O3=0D +RELEASE_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -flto -O3=0D RELEASE_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS) -flto -W= l,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=3D-pas= s-through=3D-llto-arm=0D =0D ##################=0D @@ -2736,22 +2729,22 @@ DEFINE CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38= _AARCH64_TARGET) DEF(GCC_AARCH6 =0D *_CLANG38_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto=0D *_CLANG38_AARCH64_ASLDLINK_FLAGS =3D DEF(CLANG38_AARCH64_TARGET) DEF(GCC_A= ARCH64_ASLDLINK_FLAGS)=0D -*_CLANG38_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_AARCH6= 4_TARGET) $(ARCHASM_FLAGS) $(PLATFORM_FLAGS) -Qunused-arguments=0D +*_CLANG38_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_AARCH6= 4_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments=0D *_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_TARGET) DEF(GCC_A= ARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000=0D *_CLANG38_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20=0D *_CLANG38_AARCH64_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x228=0D *_CLANG38_AARCH64_PLATFORM_FLAGS =3D=0D -*_CLANG38_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_AARCH64= _TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG38_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_AARCH64= _TARGET) $(PLATFORM_FLAGS)=0D *_CLANG38_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS)=0D -*_CLANG38_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_AARC= H64_TARGET) $(ARCHCC_FLAGS) $(PLATFORM_FLAGS)=0D +*_CLANG38_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_AARC= H64_TARGET) $(PLATFORM_FLAGS)=0D *_CLANG38_AARCH64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_AARC= H64_TARGET)=0D *_CLANG38_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS)=0D =0D - DEBUG_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(AR= CHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O1=0D + DEBUG_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -flto -O1=0D DEBUG_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS) -= flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin= -opt=3D-pass-through=3D-llto-aarch64=0D - NOOPT_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(AR= CHCC_FLAGS) $(PLATFORM_FLAGS) -O0=0D + NOOPT_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -O0=0D NOOPT_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS)=0D -RELEASE_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(AR= CHCC_FLAGS) $(PLATFORM_FLAGS) -flto -O3=0D +RELEASE_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -flto -O3=0D RELEASE_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS) -= flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin= -opt=3D-pass-through=3D-llto-aarch64=0D =0D ##########################################################################= ##########=0D --=20 2.39.0