diff options
Diffstat (limited to 'lib/builtins/muldi3.c')
-rw-r--r-- | lib/builtins/muldi3.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/builtins/muldi3.c b/lib/builtins/muldi3.c index 2dae44c11b959..6818a9e2f7220 100644 --- a/lib/builtins/muldi3.c +++ b/lib/builtins/muldi3.c @@ -40,8 +40,6 @@ __muldsi3(su_int a, su_int b) /* Returns: a * b */ -ARM_EABI_FNALIAS(lmul, muldi3) - COMPILER_RT_ABI di_int __muldi3(di_int a, di_int b) { @@ -54,3 +52,10 @@ __muldi3(di_int a, di_int b) r.s.high += x.s.high * y.s.low + x.s.low * y.s.high; return r.all; } + +#if defined(__ARM_EABI__) +AEABI_RTABI di_int __aeabi_lmul(di_int a, di_int b) { + return __muldi3(a, b); +} +#endif + |