summaryrefslogtreecommitdiff
path: root/lib/divdi3.c
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:52:09 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-04-19 17:52:09 +0000
commit1c5f89b1dd741135a4007ab577723d422f421eec (patch)
treecc4bc911bef51c2a78946ec54aac48020bebf9de /lib/divdi3.c
parent37b97d1cf4501b94347e0b4e880f4b25825a289f (diff)
downloadcompiler-rt-1c5f89b1dd741135a4007ab577723d422f421eec.tar.gz
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@129769 91177308-0d34-0410-b5e6-96231b3b80d8
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 a1b83ea3e..d62df56f6 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;