From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web08.50435.1629265341708850809 for ; Tue, 17 Aug 2021 22:42:23 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: michael.d.kinney@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10079"; a="277283646" X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="277283646" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:21 -0700 X-IronPort-AV: E=Sophos;i="5.84,330,1620716400"; d="scan'208";a="676909204" Received: from mdkinney-mobl2.amr.corp.intel.com ([10.209.89.84]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2021 22:42:21 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Rebecca Cran Subject: [edk2-libc Patch 4/9] StdLib/LibC/gdtoa: Remove source file with unused ldtoa() function. Date: Tue, 17 Aug 2021 22:42:01 -0700 Message-Id: <20210818054206.1223-5-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: <20210818054206.1223-1-michael.d.kinney@intel.com> References: <20210818054206.1223-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549 Removing the ldtoa.c file from the INF removes the ldtoa() function from this library. The ldtoa() function is not used and when /WHOLEARCHIVE linker flag is enabled this unused function makes references to other functions that are not implemented and that generates a link failure. Removing the unused source file resolves the link failure. Cc: Rebecca Cran Signed-off-by: Michael D Kinney --- StdLib/LibC/gdtoa/gdtoa.inf | 1 - 1 file changed, 1 deletion(-) diff --git a/StdLib/LibC/gdtoa/gdtoa.inf b/StdLib/LibC/gdtoa/gdtoa.inf index 08ef5e0..51def1c 100644 --- a/StdLib/LibC/gdtoa/gdtoa.inf +++ b/StdLib/LibC/gdtoa/gdtoa.inf @@ -52,7 +52,6 @@ # Private interfaces interfacing to libc dtoa.c - ldtoa.c gdtoa.c # private interfaces -- 2.32.0.windows.1