[PATCH] ld/PE: Add another mingw UCRT library name to the autoexport exclusion list
Martin Storsjö
martin@martin.st
Mon Mar 31 10:36:31 GMT 2025
On Mon, 31 Mar 2025, Alan Modra wrote:
> On Fri, Mar 28, 2025 at 07:09:02PM +0200, Martin Storsjö wrote:
>> On Thu, 20 Mar 2025, Martin Storsjö wrote:
>>
>>> 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>
>>> ---
>>> Adding the new entry in the middle of the list, to group it with
>>> the other UCRT entries.
>>> ---
>>> 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") },
>>> --
>>> 2.43.0
>>
>> Ping - ok to apply this one?
>
> OK.
Thanks, pushed.
// Martin
More information about the Binutils
mailing list