From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=17.171.2.35; helo=mail-in25.apple.com; envelope-from=afish@apple.com; receiver=edk2-devel@lists.01.org Received: from mail-in25.apple.com (mail-out25.apple.com [17.171.2.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id A265F2095607C for ; Wed, 14 Mar 2018 21:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1521088393; x=2385001993; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ud4zLCQxVq/RxGQFP5WfJTqDInOPpbw82AD6+rWt4XM=; b=eLlrCgZyKGRMOEoY9azMcJ6aRxTqWtD8avv/+QUkdiR/90qXNLqQucw1nK2NP2Ak lmAUnW7PwE9NQh6n90tGem5DEg2FKzJaJia8C8oeyp8H6THShNDbMXjiNgomGfpT GiQUbjTSEbl6b1lOCf2tZytaMaJ5+tgd0tgpe8bRLy6ftvd2tVjvPzQOzUgoyLFz Zl+Mz04TTscPewO7dAhwdMthOOLJVjypYFllY3X8KxM4I3RGBlz+hE/VZvu/q4su 6at8pcGCEPps5ks7Z8ootkBAaid7rQIlz9VOnZb2aDaJoHNNb9CTXqpF5vGxP3R7 Q1gfu890AGV9YC7opuSlYQ==; Received: from relay23.apple.com (relay23.apple.com [17.171.128.104]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in25.apple.com (Apple Secure Mail Relay) with SMTP id 1E.2B.14365.987F9AA5; Wed, 14 Mar 2018 21:33:13 -0700 (PDT) X-AuditID: 11ab0219-963ff7000000381d-dd-5aa9f789bdb4 Received: from ma1-mmpp-sz11.apple.com (ma1-mmpp-sz11.apple.com [17.171.128.33]) by relay23.apple.com (Apple SCV relay) with SMTP id 95.6B.06106.987F9AA5; Wed, 14 Mar 2018 21:33:13 -0700 (PDT) MIME-version: 1.0 Received: from [17.234.235.183] by ma1-mmpp-sz11.apple.com (Oracle Communications Messaging Server 8.0.2.2.20180130 64bit (built Jan 30 2018)) with ESMTPSA id <0P5M002NN7B9I870@ma1-mmpp-sz11.apple.com>; Wed, 14 Mar 2018 21:33:13 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1E6C13@SHSMSX104.ccr.corp.intel.com> Date: Wed, 14 Mar 2018 21:33:08 -0700 Cc: Mike Kinney , "edk2-devel@lists.01.org" Message-id: <51542B59-9A51-4A6F-85DA-3A1026FBE7FE@apple.com> References: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1B9F76@SHSMSX104.ccr.corp.intel.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1E6C13@SHSMSX104.ccr.corp.intel.com> To: "Gao, Liming" X-Mailer: Apple Mail (2.3445.5.20) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrALMWRmVeSWpSXmKPExsUiuLohQ7fz+8oog92bZS32HDrKbLHi3gZ2 i46Of0wOzB6L97xk8uie/Y8lgCmKyyYlNSezLLVI3y6BK2PrlrSCDSIVLUdfsjYw7hXoYuTk kBAwkbg1rYO9i5GLQ0hgPZPE981X2WESs2+dYYVIHGKUeH19GhNIgldAUOLH5HssXYwcHMwC 8hIHz8uChJkFtCS+P2plgaj/xiixsWUZM0hCWEBc4t2ZTcwg9cIC7hKfL4SChNkElCVWzP8A totTIEzi18o2NhCbRUBV4vOnVywQM5Mlpi06wQ6x1kZi2aHTbBDzXzJKbJl0nhUkISKgIfHw 3m9miKOVJKZ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OCPRUIu5qDgRADY2 K3RGAgAA Subject: Re: [RFC] Remove X86 .asm and .S assembly files in EDK2 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2018 04:26:51 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII > On Mar 14, 2018, at 6:56 PM, Gao, Liming wrote: > > Mike: > Now, %pragma macho subsections_via_symbols can't be enabled. So, will nasm generate the bigger image size than .S assembly on macho? Yes. Thanks, Andrew Fish > If yes, I agree nasm is not same to .S. .S may be kept for a while. But, .asm is not necessary. We can remove .asm first. > > Thanks > Liming >> -----Original Message----- >> From: Kinney, Michael D >> Sent: Wednesday, March 14, 2018 4:00 AM >> To: Gao, Liming ; edk2-devel@lists.01.org; Kinney, Michael D >> Subject: RE: [RFC] Remove X86 .asm and .S assembly files in EDK2 >> >> Liming, >> >> After further evaluation on use of NASM with macho >> there are a couple issues that need to be resolved >> before the .asm and .S files can be removed from >> all components. >> >> The details are at: >> >> https://bugzilla.tianocore.org/show_bug.cgi?id=881 >> >> NASM issues to be resolved are: >> >> https://bugzilla.nasm.us/show_bug.cgi?id=3392469 >> https://bugzilla.nasm.us/show_bug.cgi?id=3392470 >> >> The recommendation is to not switch to NASM only >> for libraries until the dead code stripping feature >> works as expected on macho. >> >> We can consider moving to NASM only for NASM files >> in a module if there are no NASM functions that would >> be dead stripped. The recommendation for these types >> of NASM files is do not use the following pragma >> until the NASM issues above are resolved. >> >> %pragma macho subsections_via_symbols >> >> Best regards, >> >> Mike >> >>> -----Original Message----- >>> From: edk2-devel [mailto:edk2-devel- >>> bounces@lists.01.org] On Behalf Of Gao, Liming >>> Sent: Wednesday, January 31, 2018 3:06 AM >>> To: edk2-devel@lists.01.org >>> Subject: [edk2] [RFC] Remove X86 .asm and .S assembly >>> files in EDK2 >>> >>> Edk2 has used nasm assembly file for all tool chains. >>> So, IA32 and X64 .asm and .S assembly files can be >>> removed if their nasm files are ready. It can save the >>> maintain effort and avoid the confuse. >>> >>> >>> >>> If you have any comments on this change, please let me >>> know. >>> >>> Thanks >>> Liming >>> _______________________________________________ >>> edk2-devel mailing list >>> edk2-devel@lists.01.org >>> https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel