On Sun, 31 Aug 2025, Pali Rohár wrote:
This patch series cleanup setjmp.h header file which defines setjmp()
and longjmp() macros, then it adds setjmp() support for crtdll.dll and
msvcrt10.dll builds and fixes setjmpex.h support for all platforms.
I tested it on 32-bit and 64-bit x86 builds. ARM is not tested.
Pali Rohár (10):
headers: Fix declaration of i386 _setjmp3() function
headers: Do not declare _setjmp3() function for non-i386 builds
crt: Remove __intrinsic_setjmp symbol from arm64 ucrtapp's setjmp.S
crt: Add __intrinsic_setjmpex symbol to arm32 ucrtapp's setjmp.S
crt: Move amd64 setjmp and i386 _setjmp3 symbols definition to the top
of the setjmp.S file
crt: Add _setjmp and _setjmpex symbol aliases for UCRT builds
headers: Remove redefinition of _setjmp via macro for UCRT builds
crt: Allow to use C setjmp() with crtdll.dll and msvcrt10.dll builds
headers: Fix setjmpex.h support
headers: Fix i386 declaration of _setjmp in intrin.h
I've tested this patch series, both with our CI, and also manually in a
few configurations that aren't covered in CI (in particular armv7), and it
doesn't seem to break anything, so I think it is safe - so I'll push it
shortly.
I had a couple minor comments on a few individual patches, but nothing
that needs an update of the patches, just commentery.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public