[edk2-devel] [edk2-libc Patch V2 4/9] StdLib/LibC/gdtoa: Remove source file with unused ldtoa() function.

Michael D Kinney michael.d.kinney at intel.com
Wed Aug 18 21:28:54 UTC 2021


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 <rebecca at nuviainc.com>
Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79531): https://edk2.groups.io/g/devel/message/79531
Mute This Topic: https://groups.io/mt/84983169/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list