diff options
Diffstat (limited to 'core/cortex-m/uldivmod.S')
-rw-r--r-- | core/cortex-m/uldivmod.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/cortex-m/uldivmod.S b/core/cortex-m/uldivmod.S index a14bdb203f..256023e9cc 100644 --- a/core/cortex-m/uldivmod.S +++ b/core/cortex-m/uldivmod.S @@ -16,6 +16,7 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "software_panic.h" .syntax unified @@ -174,4 +175,5 @@ L_dont_sub4: pop {r4, r5, r6, r7, pc} __aeabi_ldiv0: - bl panic_reboot + ldr SOFTWARE_PANIC_REASON_REG, =PANIC_SW_DIV_ZERO + bl exception_panic |