From nobody Mon Feb 9 15:08:56 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+57902+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57902+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1587611278; cv=none; d=zohomail.com; s=zohoarc; b=k6OoiNNMcGSog8xYyqgsnQ/psfOj1rz/eE/KJVFAXIb0l9Qigd7uITwxBI7gAyQFvlzchqn0cLeYIMnXbOBbtRuHbq2OiMtaMS/7M6+ceI8obJD1MbBM9chx0int7sJ9vKhOFkJzKUXLzTQd91x0kDSZC7nV4ohDKQIMP8+nvjM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1587611278; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=oYkH7hrR1Hj8evNYeZf8uHAXLrr3Aq5ptNExqIO3ehs=; b=GT4si+vIn4vFEkKVwnmRcbUk3I6cWZhjN2FfL3RN87ZfqxF20NdNNnHgu0DBJcOXwJ94YBiIJl+md1A4oyG7wSgnMofrskIuY8nwG7BWay4nT5uklBqyI4XZdXGjvXoiSxSs3dCgkNbdXnw4fGkxZxzY+YgOKklZv5eZtNCBsUU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+57902+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 158761127823797.87890582362695; Wed, 22 Apr 2020 20:07:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id WQjVYY1788612xRgYTnrcUKL; Wed, 22 Apr 2020 20:07:57 -0700 X-Received: from mga18.intel.com (mga18.intel.com []) by mx.groups.io with SMTP id smtpd.web11.659.1587611274407833926 for ; Wed, 22 Apr 2020 20:07:56 -0700 IronPort-SDR: lMCpaxS/b9tKTEJN+MTG5YWpOlNvTYeJT1WKbNoK4BocqIzIl1IXaMLpY/puV7Y5z9ZQXUzgnO UYf3HNDEVUpg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2020 20:07:55 -0700 IronPort-SDR: NgE+mrxosRERzhpjCYG6MTUUTszm/R1K4L6dMRq82+lj1Ia/oTM6i7UiPpfk6XMz7tSqBq1HgZ WHDILqBWZQHA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,305,1583222400"; d="scan'208";a="280247369" X-Received: from guominji-mobl.ccr.corp.intel.com ([10.238.5.173]) by fmsmga004.fm.intel.com with ESMTP; 22 Apr 2020 20:07:54 -0700 From: "Guomin Jiang" To: devel@edk2.groups.io Cc: Jian J Wang , Xiaoyu Lu Subject: [edk2-devel] [PATCH v2 2/2] CryptoPkg/IntrinsicLib: Remove _fltused to avoid duplication Date: Thu, 23 Apr 2020 11:07:51 +0800 Message-Id: <20200423030751.2178-3-guomin.jiang@intel.com> In-Reply-To: <20200423030751.2178-1-guomin.jiang@intel.com> References: <20200423030751.2178-1-guomin.jiang@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,guomin.jiang@intel.com X-Gm-Message-State: VeN4na8iPztRX4f2w2xhMhPkx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1587611277; bh=pJN9EPEuYLp4Mq2h3Rn/h+kLXhru2YS71aw5GXPTe70=; h=Cc:Date:From:Reply-To:Subject:To; b=mzbyu8uqGRDouzvKd/XaXPIikQlxESSh0sL4a0ecMfbQeKNruFecjbUIgmNBQMdMpQ7 jdOCCAHCSsa+MKuWoO5TtudL3njkMmfwSe7ZVniNtlAdKm8Ss5p5+GJDzywUQl2ZmVz/Q RkoLs1Bf428dqXfBW9uNY3nYwQcTp0XAoVQ= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2596 Out of edk2 may need _fltused symbol such as mu_plus OnScreenKeyboard and UiToolKit. those driver will define the symbol to feed MSVC, but it will conflict with CryptoPkg. so move the symbol to BaseLib. Signed-off-by: Guomin Jiang Cc: Jian J Wang Cc: Xiaoyu Lu --- CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c b/CryptoPkg/= Library/IntrinsicLib/MemoryIntrinsics.c index 94fe341bec..c4136916d0 100644 --- a/CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c +++ b/CryptoPkg/Library/IntrinsicLib/MemoryIntrinsics.c @@ -2,7 +2,7 @@ Intrinsic Memory Routines Wrapper Implementation for OpenSSL-based Cryptographic Library. =20 -Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
+Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -13,16 +13,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent =20 typedef UINTN size_t; =20 -#if defined(__GNUC__) || defined(__clang__) - #define GLOBAL_USED __attribute__((used)) -#else - #define GLOBAL_USED -#endif - -/* OpenSSL will use floating point support, and C compiler produces the _f= ltused - symbol by default. Simply define this symbol here to satisfy the linker= . */ -int GLOBAL_USED _fltused =3D 1; - /* Sets buffers to a specified character */ void * memset (void *dest, int ch, size_t count) { --=20 2.25.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#57902): https://edk2.groups.io/g/devel/message/57902 Mute This Topic: https://groups.io/mt/73211936/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-