-
Bug
-
Resolution: Fixed
-
Medium
-
Code Generation Tools
-
CODEGEN-9393
-
-
-
default
-
Copy the file lib/src/ull_div32.asm into your project. Edit the file to remove the definition of __aeabi_ldiv0. Add a line to the top of the file reading " .global __aeabi_ldiv0".
The Arm EABI specification requires that, when the RTS routine that implements 64-bit by 64-bit division detects divide by zero, the function _aeabi_ldiv0 is called. The function _aeabi_ldiv0 should be implemented such that a user can override it with a custom implementation. The division function supplied by the compiler does not meet this specification.