Hello, Sergey Bugaev, le sam. 03 juin 2023 20:20:24 +0300, a ecrit: > I'm attaching a patch that does that and also documents the pitfalls > (and also removes an extra block scope / level of indentation). It's > untested, but it builds and the generated code looks OK (sc_reply_port > gets loaded straight into %rdx, to be passed into __sigreturn2). Please > test!
It seems to be working fine indeed, I have applied it, thanks! > The stack guard issue must be caused by something else. It seems so indeed. But it's not only the stack guard, but various TLS accesses. Samuel