On Monday 12 October 2026 13:10:38 LIU Hao wrote:
> 在 2026-10-7 16:47, Pali Rohár 写道:
> > Those uppercase symbols are real stdcall functions.
> > ---
> >   mingw-w64-crt/lib32/kernel32.def | 4 ++++
> >   1 file changed, 4 insertions(+)
> > 
> > diff --git a/mingw-w64-crt/lib32/kernel32.def 
> > b/mingw-w64-crt/lib32/kernel32.def
> > index 0cd7a08f9755..f46ade1d1e64 100644
> > --- a/mingw-w64-crt/lib32/kernel32.def
> > +++ b/mingw-w64-crt/lib32/kernel32.def
> > @@ -495,12 +495,16 @@ lstrlenW@4
> >   ; BaseRtlDestroyHandleTable@4
> >   ; BaseRtlFreeHandle@8
> >   ; BaseRtlInitializeHandleTable@8
> > +; DESTROYFIODATA@4
> >   ; Free32bDLLCbEntries@8
> >   ; Get16DLLAddress@8
> >   ; GetDOSFileHandle@4
> >   ; GetUserNameA@8 ; MSDN says this is exported from advapi32.dll
> >   ; GetUserNameW@8 ; MSDN says this is exported from advapi32.dll
> >   ; OpenThread@4 ; Win32s OpenThread takes one DWORD threadid argument, 
> > Windows ME and Windows 2000+ contain "OpenThread" symbol but ABI is 
> > "OpenThread@12"
> > +; INITIALIZEFIODATA@8 ; in Win32s 1.1
> > +; INITIALIZEFIODATA@12 ; in Win32s 1.15-1.20
> > +; INITIALIZEFILEIODATA@12 ; in Win32s 1.25 and up
> >   ; PrivateFreeLibrary@4
> >   ; PrivateLoadLibrary@4
> >   ; RtlCreateHeap@24 ; MSDN says this is exported from ntdll.dll
> 
> These need to be sorted before `OpenThread`.

Good catch! I did not notice this.

> Pushed with the fix.

Thanks.


_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to