summaryrefslogtreecommitdiff
path: root/lib/udivmoddi4.c
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2011-06-02 20:02:42 +0000
committerEd Schouten <ed@FreeBSD.org>2011-06-02 20:02:42 +0000
commitb0a04aaa595ba76468e521f12727a872d144d6d0 (patch)
tree51db692a6c937b68c7180d996af6bb7952b4b55d /lib/udivmoddi4.c
parentf170b6928b38a264ce005e5fa80d428364b6f659 (diff)
downloadsrc-test2-b0a04aaa595ba76468e521f12727a872d144d6d0.tar.gz
src-test2-b0a04aaa595ba76468e521f12727a872d144d6d0.zip
Notes
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;