Re: [Mingw-w64-public] [PATCH] crt: Fix return value of IMAGE_TLS_CALLBACK functions and remove explicit pointer casting

2024-09-03 Thread LIU Hao
在 2024-09-04 04:46, Pali Rohár 写道: If you are fine with this change, would you apply this change with removed static keyword to have symbol visible? Fixed and pushed to master now. N.B. Previously, `__dyn_tls_init` had external linkage but `__dyn_tls_dtor` had internal linkage. In Microsoft U

Re: [Mingw-w64-public] _UCRT in winnt.h for RtlSecureZeroMemory

2024-09-03 Thread LIU Hao
在 2024-09-04 00:49, Pali Rohár 写道: On Tuesday 03 September 2024 09:30:01 LIU Hao wrote: 在 2024-09-03 03:18, Pali Rohár 写道: I think that WinAPI header files and WinAPI dll library should be independent of used CRT library, and should behave same whether compiled with msvcrt.dll or ucrtbase.dll.

Re: [Mingw-w64-public] [PATCH] crt: Fix atexit() function for every import library

2024-09-03 Thread Jacek Caban
On 3.09.2024 23:15, Pali Rohár wrote: On Wednesday 28 August 2024 15:51:46 Jacek Caban wrote: On 27.08.2024 23:35, Pali Rohár wrote: On Tuesday 27 August 2024 23:20:23 Jacek Caban wrote: On 27.08.2024 21:16, Pali Rohár wrote: +/* define just import symbol, function itself is in crtexe.c and c

Re: [Mingw-w64-public] [PATCH] crt: Fix atexit() function for every import library

2024-09-03 Thread Pali Rohár
On Wednesday 28 August 2024 15:51:46 Jacek Caban wrote: > On 27.08.2024 23:35, Pali Rohár wrote: > > On Tuesday 27 August 2024 23:20:23 Jacek Caban wrote: > > > On 27.08.2024 21:16, Pali Rohár wrote: > > > > +/* define just import symbol, function itself is in crtexe.c and > > > > crtdll.c files *

Re: [Mingw-w64-public] [PATCH] crt: Fix return value of IMAGE_TLS_CALLBACK functions and remove explicit pointer casting

2024-09-03 Thread Pali Rohár
On Wednesday 28 August 2024 19:39:18 Pali Rohár wrote: > On Wednesday 28 August 2024 14:17:08 Martin Storsjö wrote: > > On Wed, 28 Aug 2024, LIU Hao wrote: > > > > > 在 2024-08-28 03:15, Pali Rohár 写道: > > > > -BOOL WINAPI __dyn_tls_init (HANDLE, DWORD, LPVOID); > > > > - > > > > -BOOL WINAPI > > >

Re: [Mingw-w64-public] _UCRT in winnt.h for RtlSecureZeroMemory

2024-09-03 Thread Pali Rohár
On Tuesday 03 September 2024 09:30:01 LIU Hao wrote: > 在 2024-09-03 03:18, Pali Rohár 写道: > > I think that WinAPI header files and WinAPI dll library should be > > independent of used CRT library, and should behave same whether compiled > > with msvcrt.dll or ucrtbase.dll. > > > > Do you know some