[PATCH] ld: Ignore libucrt.a in the same way as libucrtbase.a

Martin Storsjö martin@martin.st
Tue Jan 4 20:29:08 GMT 2022


Not an issue in practice as it's used renamed to libmsvcrt.a in most cases.

Signed-off-by: Martin Storsjö <martin@martin.st>
---
 ld/pe-dll.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 4e47abd9b24..95de94b8474 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -348,6 +348,7 @@ static const autofilter_entry_type autofilter_liblist[] =
   { STRING_COMMA_LEN ("libgcj") },
   { STRING_COMMA_LEN ("libmsvcrt") },
   { STRING_COMMA_LEN ("libmsvcrt-os") },
+  { STRING_COMMA_LEN ("libucrt") },
   { STRING_COMMA_LEN ("libucrtbase") },
   { NULL, 0 }
 };
-- 
2.25.1



More information about the Binutils mailing list