summaryrefslogtreecommitdiff
path: root/lib/udivmoddi4.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/udivmoddi4.c')
-rw-r--r--lib/udivmoddi4.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/udivmoddi4.c b/lib/udivmoddi4.c
index 693736fb8cd2..c5db21cf0c89 100644
--- a/lib/udivmoddi4.c
+++ b/lib/udivmoddi4.c
@@ -11,6 +11,7 @@
*
* ===----------------------------------------------------------------------===
*/
+#include "abi.h"
#include "int_lib.h"
@@ -20,7 +21,9 @@
/* Translated from Figure 3-40 of The PowerPC Compiler Writer's Guide */
-du_int
+ARM_EABI_FNALIAS(uldivmod, udivmoddi4);
+
+COMPILER_RT_ABI du_int
__udivmoddi4(du_int a, du_int b, du_int* rem)
{
const unsigned n_uword_bits = sizeof(su_int) * CHAR_BIT;