[binutils-gdb] ld/PE: Add another mingw UCRT library name to the autoexport exclusion list

Martin Storsjo mstorsjo@sourceware.org
Mon Mar 31 10:36:06 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6ac0e2868057515f860f0a27a17449ef49655a6a

commit 6ac0e2868057515f860f0a27a17449ef49655a6a
Author: Martin Storsjö <martin@martin.st>
Date:   Thu Mar 20 23:27:05 2025 +0200

    ld/PE: Add another mingw UCRT library name to the autoexport exclusion list
    
    Since 2020, mingw-w64 provides a C runtime import library variant
    named "libucrtapp" too, exclude this one from autoexports like
    the others.
    
    Signed-off-by: Martin Storsjö <martin@martin.st>

Diff:
---
 ld/pe-dll.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 4e72f1b8d8d..de1cfafb65b 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -381,6 +381,7 @@ static const autofilter_entry_type autofilter_liblist[] =
   { STRING_COMMA_LEN ("libmsvcrt") },
   { STRING_COMMA_LEN ("libmsvcrt-os") },
   { STRING_COMMA_LEN ("libucrt") },
+  { STRING_COMMA_LEN ("libucrtapp") },
   { STRING_COMMA_LEN ("libucrtbase") },
   { STRING_COMMA_LEN ("libpthread") },
   { STRING_COMMA_LEN ("libwinpthread") },


More information about the Binutils-cvs mailing list