To quicker get up to speed on what to fix here, I presume that the functions that are edited might need corresponding changes with `__ASM_EHABI()` directives. To test the change, is there anything specific to do, or is it enough to just check that processes shut down cleanly etc?
Yes, make sure that threads exit cleanly, particularly when they receive a SIGQUIT from the server.