the old code used to be hardcoded to look for a "_sigreturn" function, but according to the ABI, the signal frame can be identified by a specific bit in the unwind record. Use that instead. committed randolph