summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ashldi3.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
commite63da933eba10f5ea5bf39af47a0ded719c2cf5d (patch)
tree3e39bc5ad29874dfa68646379425fc218b3f78aa /compiler-rt/lib/ashldi3.c
parent75e3c1993c6d1b78cddfd93d3a936b3dcdf5cebb (diff)
downloadbcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.tar.gz
bcm5719-llvm-e63da933eba10f5ea5bf39af47a0ded719c2cf5d.zip
Move abi bits to separate header. Force AAPCS for EABI in accordance with ARM RTABI.
llvm-svn: 129769
Diffstat (limited to 'compiler-rt/lib/ashldi3.c')
-rw-r--r--compiler-rt/lib/ashldi3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/ashldi3.c b/compiler-rt/lib/ashldi3.c
index 65bd7b2027b..adce4e2cb75 100644
--- a/compiler-rt/lib/ashldi3.c
+++ b/compiler-rt/lib/ashldi3.c
@@ -11,6 +11,7 @@
*
* ===----------------------------------------------------------------------===
*/
+#include "abi.h"
#include "int_lib.h"
@@ -20,7 +21,7 @@
ARM_EABI_FNALIAS(llsl, ashldi3);
-di_int
+COMPILER_RT_ABI di_int
__ashldi3(di_int a, si_int b)
{
const int bits_in_word = (int)(sizeof(si_int) * CHAR_BIT);
OpenPOWER on IntegriCloud