From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.62]) by mx.groups.io with SMTP id smtpd.web12.2391.1595581286661134921 for ; Fri, 24 Jul 2020 02:01:27 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=PejIXD4u; spf=pass (domain: arm.com, ip: 40.107.21.62, mailfrom: pierre.gondois@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7kwBEwQNmwPxIh/BEDyIhr/nJZM0dXO/M4tMdFjkNKs=; b=PejIXD4uvNzR8ymiz1fbKZXIfmP3f2ORdGkhpTRjp15LP+H4fcIkyPS18dIUxdIXZWqdKvslStbxWa1fPc9hHFe/Mk8bfeCz32Rc3v4twGOHAQGxTN1fPC3qjHtgF6I6umXS8mh5iMx9w/2wO0z9Qc7FPwj1S0HreQ7yxoKlnbI= Received: from DB8PR06CA0053.eurprd06.prod.outlook.com (2603:10a6:10:120::27) by VI1PR08MB2655.eurprd08.prod.outlook.com (2603:10a6:802:19::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.25; Fri, 24 Jul 2020 09:01:23 +0000 Received: from DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:120:cafe::73) by DB8PR06CA0053.outlook.office365.com (2603:10a6:10:120::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20 via Frontend Transport; Fri, 24 Jul 2020 09:01:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT009.mail.protection.outlook.com (10.152.20.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Fri, 24 Jul 2020 09:01:23 +0000 Received: ("Tessian outbound c83312565ef4:v62"); Fri, 24 Jul 2020 09:01:23 +0000 X-CR-MTA-TID: 64aa7808 Received: from 5ad8d708e590.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 16D95A0B-515F-49E8-B53B-F05C2B1D7AB6.1; Fri, 24 Jul 2020 09:01:18 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5ad8d708e590.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 24 Jul 2020 09:01:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Eje/RI2ihHi1E08CdPgA7+2ue5X3w92hcWzmXqcwCkOMN0rx72I89Ip/43eY4ZZ2HIr8TYKrBUfEl+oCNzmylpuhgVHwTB8T5p5EYxgdLBva8xxJsM2UnXJnggiePZCFlTZxkElC/+klRynIm+d7tFsj9w6DlphTeUWfb7XhIpDbU0gfjAOjP5IAfJkAG0PTD+VvJl4zZeYa4VpGbwMDdyi/dRjIoB5q13CCDGMPKJlCBGNvhJZClBuwdNbKwXLXLRdKorjwEP0blTDFJbYiCibII61pLoe2m/WY2sVeEawhqIk7GBZCUBaUYrDsnCudQ58POJxRaKLu37uu7Z/Xrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7kwBEwQNmwPxIh/BEDyIhr/nJZM0dXO/M4tMdFjkNKs=; b=mdmFyhSaGl6uJ//6nZXKIM12wOm1XTxYpgLVIIE7AKjA1ItlKH7CHwG3ErRyHvFPwx/Qn5zWJok7nJOW6C10iiiNU4HtKkXCW+gd+y6VLx/7n44xFp/TncZfLcHerb2f1oKKVggTRntB0RZQjlyspJaKN7AKDWcA4/ayfokZCCDbA+OSJ+XTFOtmh/al1oO2SZJPoWjissC6CGPlL5DB4OeHAh3X7UJfK0/SOewoPjBXllSZPrcyvgewkVLldjmDhpsKLYXLGbi8yOA3oC9JJQHPwMin+5KdLN/FOoExdzt0FqSC6DfzM8SYfcZoDFjFet72lX+aEsZLwSbS4ck+yA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7kwBEwQNmwPxIh/BEDyIhr/nJZM0dXO/M4tMdFjkNKs=; b=PejIXD4uvNzR8ymiz1fbKZXIfmP3f2ORdGkhpTRjp15LP+H4fcIkyPS18dIUxdIXZWqdKvslStbxWa1fPc9hHFe/Mk8bfeCz32Rc3v4twGOHAQGxTN1fPC3qjHtgF6I6umXS8mh5iMx9w/2wO0z9Qc7FPwj1S0HreQ7yxoKlnbI= Received: from DB7PR08MB3113.eurprd08.prod.outlook.com (2603:10a6:5:20::21) by DBBPR08MB4759.eurprd08.prod.outlook.com (2603:10a6:10:f3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Fri, 24 Jul 2020 09:01:16 +0000 Received: from DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::e11b:cdfd:f08f:efde]) by DB7PR08MB3113.eurprd08.prod.outlook.com ([fe80::e11b:cdfd:f08f:efde%6]) with mapi id 15.20.3216.021; Fri, 24 Jul 2020 09:01:16 +0000 From: "PierreGondois" To: "devel@edk2.groups.io" , "bob.c.feng@intel.com" , Leif Lindholm , "afish@apple.com" CC: "Gao, Liming" , "tomas@nuviainc.com" Subject: Re: [edk2-devel] [PATCH V2 1/2] BaseTools: Add gcc flag to warn on void* pointer arithmetic Thread-Topic: [edk2-devel] [PATCH V2 1/2] BaseTools: Add gcc flag to warn on void* pointer arithmetic Thread-Index: AQHWVDmb/vApPu96dU+WifEOn4nhkKkP7vKAgAQN/gCAAIOFAIAADruAgABw5YCAATRFgIAAVKjQ Date: Fri, 24 Jul 2020 09:01:16 +0000 Message-ID: References: <20200707083522.138944-1-pierre.gondois@arm.com> <20200707083522.138944-2-pierre.gondois@arm.com> <20200722180534.GG1337@vanye> <20200723093305.GJ1337@vanye> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 8177cb93-9959-4d07-a084-907efbc39abb.0 x-checkrecipientchecked: true Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.106.52] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: ab1c264f-399f-41ae-b3af-08d82fb023de x-ms-traffictypediagnostic: DBBPR08MB4759:|VI1PR08MB2655: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ujnAiCM/TDYKhYj4/+rU1zRt+ZXutEVE8ZHpyDTvPVg9CuqRsh00j4xAVRufsidXjAlEnkWUBxUDYpE/LkyVYuMHAdJCYMCUcotKBB5rocUseawMGR4aOOO5+tyAUZygYdg4BjrroAGQun85IboDV/UIpj67W6miSNwZkTt7hxK5ErtN5ZCp/blXYxpe8tIDeUuIAf0vTVjONZmqAUTXe6YS/jkUGJ7qs+tUdESWrpoKCqZ4MSdGWIYKDO01Flv/VooPIvpx1X06wm4rXxvi5q7lFzA9ZcKECXMw0Z/459ZIHbyuSvwIFfM+RbCUjyUa6xOyi4x/UebugqHgOwL0kHRk8WJMWd112aBU2YtSzdFusdIt5Ol24XkmjSPPmUcn2GFsL/iY0ipg9hgZ9YNMJg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR08MB3113.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(376002)(366004)(396003)(136003)(54906003)(966005)(4326008)(45080400002)(478600001)(110136005)(316002)(71200400001)(7696005)(2906002)(8936002)(55016002)(52536014)(9686003)(5660300002)(26005)(6506007)(186003)(53546011)(83380400001)(76116006)(66946007)(66476007)(66446008)(66556008)(64756008)(86362001)(8676002)(33656002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: 9dTCtPpn38wkxbZr0SqbFCs+gyqLtAL/L1jDiHWAxdAEU9dxaEiojhLRFHuFIYTveVqpg4H7gUPLjZVlIW7l+1dPbi5A0WWKz+D4DpQLObrhB42wwCcKnkc/iTM2Bpsqcr2WjcDhoN91LrTBbymw4LleitZo2Ur9VVobISoBUkMI96ypcvBx1HCz0T+8tUD6kgxqn3jMtyMUSYdkMaTu2Lyv9cMrCb5FhmofvpCz8P5vTRCtuRcBKv2CUbnzhml2ZxUrMvtXJzqZn5xRkIsFfqCdh8L1fGSDf4Md0lJ+jXDZ679sgOUR1Xf2rHG4gdzPo6nNFDTZ+x97i4MVEuofj0y0E2+1w4G6LCTdJEGFf2TP52BZ/VSpN+3ep6AFW278PJOPxVUnQTYd+MyDf0Kt/fsxGKzLfHi2EWqY26o0z8xnzVfnM6Q4fLQuj69W5adbD3ihIL8FMLDaMHymn6jRE4nO0CpwW9WxCnK77aLP4Q4mPwBtrIUgs1rQlPUDGV6n x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4759 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Pierre.Gondois@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: c87ecbac-ae0a-481e-457d-08d82fb01f85 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wYwaNcElYzMD96CQ7CBrVpA9Ha4bIQxw8EFegVN9lyt9bDdd9EMWddocuL4sgUxMDX7POn755s08LuyR0Zhn8u3o4R0L9IHm2g7vE0BmrL+9XTxbLCfpOc/oz+aZ5tAAHgGNUpuzj3po86HboC557AFKZ8ujweygBEwpnj73ripzcCm7aqcg3qgOstUBidTA6QXwL0RbQdo6pTPrdbxIpV09FMV9FGTCFu4sodVLmbI2/NJhzJyh+gW/4bHqIVtR+90eH44F4pI/ZJLIq99VpMMr52XLB3vEccFAy7w170TtYJg9LKvDDKNg0gfW8G3scCCPVqy9Z92MsUJ723o88jLAXE04NxoFNW2n7cN2xWiKtUyrxoJReUFTM9WU+hRyLgDbZK6GkxDhlBuMmCjXgXpdl0FCYzLb1s8SBZEQwhx/0kiMaVWG0iNN6fCUawmHVh7GXkSO8DYuQcvTOvVF0TDLDxfBnTPT78IZodNRi7k= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(346002)(396003)(376002)(136003)(46966005)(107886003)(4326008)(55016002)(86362001)(356005)(52536014)(81166007)(8676002)(9686003)(8936002)(5660300002)(70206006)(186003)(54906003)(70586007)(6506007)(53546011)(47076004)(966005)(33656002)(83380400001)(110136005)(82310400002)(478600001)(45080400002)(316002)(26005)(7696005)(2906002)(336012)(82740400003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jul 2020 09:01:23.5412 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab1c264f-399f-41ae-b3af-08d82fb023de X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2655 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello everyone, Thank you for reverting the patch. I should have tested building on more p= latforms. I can fix the pieces of code highlighted by the -Wpointer-arith flag on AR= M platforms. For now I saw 10-15 places that would need to be modified. If this is not a huge task I will try to do it for other platforms. Regards, Pierre -----Original Message----- From: devel@edk2.groups.io On Behalf Of Bob Feng vi= a groups.io Sent: 24 July 2020 04:56 To: Leif Lindholm ; devel@edk2.groups.io; afish@apple.c= om Cc: Pierre Gondois ; Gao, Liming ; tomas@nuviainc.com Subject: Re: [edk2-devel] [PATCH V2 1/2] BaseTools: Add gcc flag to warn o= n void* pointer arithmetic What would be your suggestion on the approach to apply this build option t= o all architectures? Change the tool_def.txt firstly and push platform owne= r to fix the corresponding firmware code, or changing the tool_def.txt late= r, until this change will not break any platform build? -----Original Message----- From: Leif Lindholm Sent: Thursday, July 23, 2020 5:33 PM To: devel@edk2.groups.io; afish@apple.com Cc: Feng, Bob C ; PierreGondois ; Gao, Liming ; tomas@nuviainc.com Subject: Re: [edk2-devel] [PATCH V2 1/2] BaseTools: Add gcc flag to warn o= n void* pointer arithmetic Hi Andrew, Agreed. I also think this should be applied across all architectures, not just ARM= /AARCH64. Since Visual Studio has never been been able to compile the affec= ted code, I expect impact to Ia32/X64 to be minimal. Regards, Leif On Wed, Jul 22, 2020 at 19:49:01 -0700, Andrew Fish via groups.io wrote: > Bob, > > It also looks like clang could use this flag as the default seems to > be to follow the GCC behavior. > > Thanks, > > Andrew Fish > > > On Jul 22, 2020, at 6:56 PM, Bob Feng wrote: > > > > Hi Leif > > > > I agree to revert that patch for now and I sent a revert patch for rev= iew. After resolving the build break issue for ARM/AARCH64 platforms in edk= 2-platforms, and make sure there is no platform build break with this patch= , we will push it again. > > > > Thanks, > > Bob > > > > -----Original Message----- > > From: devel@edk2.groups.io > > > On Behalf Of > > Leif Lindholm > > Sent: Thursday, July 23, 2020 2:06 AM > > To: devel@edk2.groups.io ; Feng, Bob C > > > > > Cc: PierreGondois > >; Gao, Liming > >; tomas@nuviainc.com > > > > Subject: Re: [edk2-devel] [PATCH V2 1/2] BaseTools: Add gcc flag to > > warn on void* pointer arithmetic > > > > Hi Bob, > > > > This patch also breaks about half of the ARM/AARCH64 platforms in edk2= -platforms. I agree it should go in at a later stage, but for now, can we p= lease revert it? > > > > Regards, > > > > Leif > > > > On Mon, Jul 20, 2020 at 04:10:27 +0000, Bob Feng wrote: > >> Reviewed-by: Bob Feng > >> > >> > >> -----Original Message----- > >> From: PierreGondois > >> Sent: Tuesday, July 7, 2020 4:35 PM > >> To: devel@edk2.groups.io > >> Cc: Pierre Gondois ; Feng, Bob C > >> ; Gao, Liming ; > >> tomas.pilar@arm.com; nd@arm.com > >> Subject: [PATCH V2 1/2] BaseTools: Add gcc flag to warn on void* > >> pointer arithmetic > >> > >> From: Pierre Gondois > >> > >> By default, gcc allows void* pointer arithmetic. > >> This is a GCC extension. > >> However: > >> - the C reference manual states that void* > >> pointer "cannot be operands of addition > >> or subtraction operators". Cf s5.3.1 > >> "Generic Pointers"; > >> - Visual studio compiler treat such operation as > >> an error. > >> > >> To prevent such pointer arithmetic, the "-Wpointer-arith" > >> flag should be set for all GCC versions. > >> > >> The "-Wpointer-arith" allows to: > >> "Warn about anything that depends on the "size of" > >> a function type or of void. GNU C assigns these types a size of > >> 1, for convenience in calculations with void * pointers and > >> pointers to functions." > >> > >> This flag is available since GCC2.95.3 which came out in 2001. > >> > >> Signed-off-by: Pierre Gondois > >> --- > >> > >> The changes can be seen at: > >> https://github.com/PierreARM/edk2/commits/831_Add_gcc_flag_warning_ > >> v2 > >> > >> Notes: > >> v1: > >> - Add "-Wpointer-arith" gcc flag. [Pierre] > >> v2: > >> - Only add the flag for ARM and AARCH64. [Tomas] > >> > >> BaseTools/Conf/tools_def.template | 6 +++--- > >> 1 file changed, 3 insertions(+), 3 deletions(-) > >> > >> diff --git a/BaseTools/Conf/tools_def.template > >> b/BaseTools/Conf/tools_def.template > >> index > >> 8aeb8a2a6417e41c5660cda5066f52adc8cc3089..397b011ba38f97f81f314f864 > >> 1ac > >> 8bb95d5a2197 100755 > >> --- a/BaseTools/Conf/tools_def.template > >> +++ b/BaseTools/Conf/tools_def.template > >> @@ -1,7 +1,7 @@ > >> # > >> # Copyright (c) 2006 - 2018, Intel Corporation. All rights > >> reserved.
# Portions copyright (c) 2008 - 2009, Apple Inc. > >> All rights reserved.
-# Portions copyright (c) 2011 - 2019, ARM = Ltd. > >> All rights reserved.
> >> +# Portions copyright (c) 2011 - 2020, ARM Ltd. All rights > >> +reserved.
> >> # Copyright (c) 2015, Hewlett-Packard Development Company, L.P.
= # (C) Copyright 2020, Hewlett Packard Enterprise Development LP
# C= opyright (c) Microsoft Corporation > >> @@ -1921,9 +1921,9 @@ NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG =3D --add-gn= u-debuglink=3D$(DEBUG_DIR)/$(MODULE_N > >> DEFINE GCC_ALL_CC_FLAGS =3D -g -Os -fshort-wchar -fno-buil= tin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h= -fno-common > >> DEFINE GCC_IA32_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -m32 -ma= lign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-= arg-probe > >> DEFINE GCC_X64_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -mno-red= -zone -Wno-address -mno-stack-arg-probe > >> -DEFINE GCC_ARM_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -mlittl= e-endian -mabi=3Daapcs -fno-short-enums -funsigned-char -ffunction-sections= -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=3Dso= ft -fno-pic -fno-pie > >> +DEFINE GCC_ARM_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -Wpoint= er-arith -mlittle-endian -mabi=3Daapcs -fno-short-enums -funsigned-char -ff= unction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb = -mfloat-abi=3Dsoft -fno-pic -fno-pie > >> DEFINE GCC_ARM_CC_XIPFLAGS =3D -mno-unaligned-access > >> -DEFINE GCC_AARCH64_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -mlittl= e-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-section= s -fdata-sections -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-= tables -fno-pic -fno-pie -ffixed-x18 > >> +DEFINE GCC_AARCH64_CC_FLAGS =3D DEF(GCC_ALL_CC_FLAGS) -Wpoint= er-arith -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ff= unction-sections -fdata-sections -Wno-address -fno-asynchronous-unwind-tabl= es -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18 > >> DEFINE GCC_AARCH64_CC_XIPFLAGS =3D -mstrict-align -mgeneral-regs-= only > >> DEFINE GCC_DLINK_FLAGS_COMMON =3D -nostdlib --pie > >> DEFINE GCC_DLINK2_FLAGS_COMMON =3D -Wl,--script=3D$(EDK_TOOLS_PAT= H)/Scripts/GccBase.lds > >> -- > >> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' > >> > >> > >> > >> > > > > > > > > > > > > > > IMPORTANT NOTICE: The contents of this email and any attachments are confi= dential and may also be privileged. If you are not the intended recipient, = please notify the sender immediately and do not disclose the contents to an= y other person, use it for any purpose, or store or copy the information in= any medium. Thank you.