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

Message ID 20220104202908.1008266-1-martin@martin.st
State New
Headers show
Series
  • ld: Ignore libucrt.a in the same way as libucrtbase.a
Related show

Commit Message

Martin Storsjö Jan. 4, 2022, 8:29 p.m.
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(+)

-- 
2.25.1

Comments

H.J. Lu via Binutils Jan. 11, 2022, 3:47 p.m. | #1
Hi Martin,

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

> 


Patch approved and applied.

Cheers
   Nick

Patch

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 }
 };