Skip to content

Commit 71b3fd8

Browse files
committed
[LLD] [COFF] Add a few more mingw libs to skip autoexports for
"libmsvcrt-os" was added to the list of excluded libs in binutils in 9d9c67b06c1bf4c4550e3de0eb575c2bfbe96df9 in 2017. "libucrt" was added in c4a8df19ba0a82aa8dea88d9f72ed9e63cb1fa84 in 2022. "libucrtapp" isn't in the binutils exclusion list yet, but I'll submit a patch for that soon. Since 0d403d5dd13ce22c07418058f3b640708992890c in mingw-w64 (in 2020), there's such a third variant of the UCRT import library available.
1 parent 93afd8f commit 71b3fd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lld/COFF/MinGW.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,10 @@ AutoExporter::AutoExporter(
5252
"libflang_rt.runtime",
5353
"libunwind",
5454
"libmsvcrt",
55+
"libmsvcrt-os",
5556
"libucrtbase",
57+
"libucrt",
58+
"libucrtapp",
5659
};
5760

5861
excludeObjects = {

0 commit comments

Comments
 (0)