From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 19AE7209589F4 for ; Wed, 2 Aug 2017 22:45:28 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Aug 2017 22:47:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,314,1498546800"; d="dat'59?scan'59,208,59";a="1158509068" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 02 Aug 2017 22:47:23 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 2 Aug 2017 22:47:18 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Thu, 3 Aug 2017 13:47:15 +0800 From: "Song, BinX" To: "edk2-devel@lists.01.org" CC: "Yao, Jiewen" , Giri P Mudusuru Thread-Topic: [PATCH] IntelFsp2Pkg: Delete useless external TempRamInitApi API Thread-Index: AdMMG/VCDGqeDKeqTI69ZqXwtAZABg== Date: Thu, 3 Aug 2017 05:47:15 +0000 Message-ID: <559D2DF22BC9A3468B4FA1AA547F0EF102583089@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: <559D2DF22BC9A3468B4FA1AA547F0EF102583089@shsmsx102.ccr.corp.intel.com> x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 Subject: [PATCH] IntelFsp2Pkg: Delete useless external TempRamInitApi API X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Aug 2017 05:45:28 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable - Delete useless external TempRamInitApi API to fix /WHOLEARCHIVE build=20 error with VS2015 tool chain Cc: Jiewen Yao Cc: Giri P Mudusuru Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song --- IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm | 7 ------- 1 file changed, 7 deletions(-) diff --git a/IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm= b/IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm index 122eb9e..ee78312 100644 --- a/IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm +++ b/IntelFsp2Pkg/Library/SecFspSecPlatformLibNull/Ia32/Flat32.nasm @@ -16,8 +16,6 @@ ; Define assembler characteristics ; =20 -extern ASM_PFX(TempRamInitApi) - SECTION .text =20 %macro RET_ESI 0 @@ -66,11 +64,6 @@ ASM_PFX(SecPlatformInit): ;-------------------------------------------------------------------------= --- global ASM_PFX(ProtectedModeEntryPoint) ASM_PFX(ProtectedModeEntryPoint): - ; - ; Dummy function. Consume 2 API to make sure they can be linked. - ; - mov eax, ASM_PFX(TempRamInitApi) - ; Should never return jmp $ =20 --=20 2.10.2.windows.1