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