diff options
| -rw-r--r-- | runtime/arch/arm/instruction_set_features_arm.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/arch/arm/instruction_set_features_arm.cc b/runtime/arch/arm/instruction_set_features_arm.cc index ffac0307b7..c3a5829979 100644 --- a/runtime/arch/arm/instruction_set_features_arm.cc +++ b/runtime/arch/arm/instruction_set_features_arm.cc @@ -206,6 +206,7 @@ const ArmInstructionSetFeatures* ArmInstructionSetFeatures::FromAssembly() { struct sigaction sa, osa; sa.sa_flags = SA_ONSTACK | SA_RESTART | SA_SIGINFO; sa.sa_sigaction = bad_divide_inst_handle; + sigemptyset(&sa.sa_mask); sigaction(SIGILL, &sa, &osa); bool has_div = false; |