On Wednesday 28 August 2024 14:23:40 Martin Storsjö wrote:
> On Wed, 28 Aug 2024, LIU Hao wrote:
>
> > 在 2024-08-28 03:15, Pali Rohár 写道:
> > > Use gcc's function attribute naked which omits any prologue or epilogue
> > > sequences and for x86 is supported by gcc since version 8.0.0. It is also
>
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
> > > +static void WINAPI
> > > __dyn_tls_init (HANDLE hDllHandle, DWORD
On 28.08.2024 13:42, Martin Storsjö wrote:
From: Pali Rohár
---
I tried removing some of the extra verbosity, while keeping the core of
the added information, and adjusting wording a little bit.
Looks good to me.
Thanks,
Jacek
___
Mingw-w64-publ
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 */
+int (__cdecl *__MINGW_IMP_SYMBOL(atexit))(void (__cdecl *)(void)) = atexit;
From: Pali Rohár
---
I tried removing some of the extra verbosity, while keeping the core of
the added information, and adjusting wording a little bit.
---
mingw-w64-doc/howto-build/ucrt-vs-msvcrt.txt | 31 +---
1 file changed, 27 insertions(+), 4 deletions(-)
diff --git a/mingw
On Tue, 27 Aug 2024, Pali Rohár wrote:
On Tuesday 27 August 2024 23:13:08 Jacek Caban wrote:
On 27.08.2024 21:14, Pali Rohár wrote:
> -ucrt (utilizing ucrtbase.dll) and msvcrt (utilizing msvcrt.dll).
> +ucrt (utilizing api-ms-win-crt-*.dll) and msvcrt (utilizing msvcrt.dll).
In my opinion men
On Tue, 27 Aug 2024, 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 */
> +int (__cdecl *__MINGW_IMP_SYMBOL(atexit))(void (__cdecl *)(void)) = atexi
On Wed, 28 Aug 2024, LIU Hao wrote:
在 2024-08-28 03:15, Pali Rohár 写道:
Use gcc's function attribute naked which omits any prologue or epilogue
sequences and for x86 is supported by gcc since version 8.0.0. It is also
supported by clang. For older gcc versions use existing code.
This change fix
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
+static void WINAPI
__dyn_tls_init (HANDLE hDllHandle, DWORD dwReason, LPVOID lpreserved)
{
`__dyn_tls_init()` has external linkage in Microsoft CRT,