summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt/lshrdi3.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-12-26 20:59:46 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-12-26 20:59:46 +0000
commitd8478f94377c30b0c1fd017df878b0a40e2c6d45 (patch)
tree8f02c87bb22bffc9887e21546e1f485d544bc872 /lib/libcompiler_rt/lshrdi3.c
parent0a06862e4c4f094c66df855ee85b0cdd097e0240 (diff)
Update to compiler-rt 5.0.1.
ok kettenis@
Diffstat (limited to 'lib/libcompiler_rt/lshrdi3.c')
-rw-r--r--lib/libcompiler_rt/lshrdi3.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libcompiler_rt/lshrdi3.c b/lib/libcompiler_rt/lshrdi3.c
index 6b1ea923b77..becbbef4eb0 100644
--- a/lib/libcompiler_rt/lshrdi3.c
+++ b/lib/libcompiler_rt/lshrdi3.c
@@ -18,8 +18,6 @@
/* Precondition: 0 <= b < bits_in_dword */
-ARM_EABI_FNALIAS(llsr, lshrdi3)
-
COMPILER_RT_ABI di_int
__lshrdi3(di_int a, si_int b)
{
@@ -41,3 +39,10 @@ __lshrdi3(di_int a, si_int b)
}
return result.all;
}
+
+#if defined(__ARM_EABI__)
+AEABI_RTABI di_int __aeabi_llsr(di_int a, si_int b) {
+ return __lshrdi3(a, b);
+}
+#endif
+