在 2026-11-10 22:56, Pali Rohár 写道:
I see. I originally thought that the passed arguments on the stack are not going to be overwritten. Which is not truth. So the %ecx needs to be from the 4(%esp) as you wrote above.
Generally speaking, a function may modify its parameters. `setjmp_common` is an exception, since it's defined in the same translation unit, so is allowed to have a custom calling convention. (Compilers do it too.)
There don't seem to be any problems in 13-17, so I have pushed them. Please be advised that I'm unable to test the changes about crtdll or ARM32, as those no longer work on modern systems, so I can only commit what you patches suggest.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
