Implement cfi_restore. Patch by Brian Anderson!