summaryrefslogtreecommitdiff
path: root/lib/divdi3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/divdi3.c')
-rw-r--r--lib/divdi3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/divdi3.c b/lib/divdi3.c
index a1b83ea3..d62df56f 100644
--- a/lib/divdi3.c
+++ b/lib/divdi3.c
@@ -11,14 +11,15 @@
*
* ===----------------------------------------------------------------------===
*/
+#include "abi.h"
#include "int_lib.h"
-du_int __udivmoddi4(du_int a, du_int b, du_int* rem);
+du_int COMPILER_RT_ABI __udivmoddi4(du_int a, du_int b, du_int* rem);
/* Returns: a / b */
-di_int
+COMPILER_RT_ABI di_int
__divdi3(di_int a, di_int b)
{
const int bits_in_dword_m1 = (int)(sizeof(di_int) * CHAR_BIT) - 1;