9
0
Fork 0

arm/lib: add eabi names of helper functions

Since commit e2b4a792f8, we don't
undoncitionally link with OABI. If now EABI is selected there are a
number of missing helper functions, because they have new names now.

This patch add the abi names to the existing helper functions.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2009-12-16 15:29:45 +01:00
parent a5c776de1d
commit 8fe23d32d9
5 changed files with 11 additions and 0 deletions

View File

@ -38,6 +38,8 @@ Boston, MA 02110-1301, USA. */
.globl __ashldi3
__ashldi3:
.globl __aeabi_llsl
__aeabi_llsl:
subs r3, r2, #32
rsb ip, r2, #32

View File

@ -38,6 +38,8 @@ Boston, MA 02110-1301, USA. */
.globl __ashrdi3
__ashrdi3:
.globl __aeabi_lasr
__aeabi_lasr:
subs r3, r2, #32
rsb ip, r2, #32

View File

@ -99,6 +99,8 @@
.align 5
.globl __divsi3
__divsi3:
.globl __aeabi_idiv
__aeabi_idiv:
cmp r1, #0
eor ip, r0, r1 @ save the sign of the result.
beq Ldiv0

View File

@ -36,6 +36,8 @@ Boston, MA 02110-1301, USA. */
.globl __lshrdi3
__lshrdi3:
.globl __aeabi_llsr
__aeabi_llsr:
subs r3, r2, #32
rsb ip, r2, #32

View File

@ -13,8 +13,11 @@ curbit .req r3
.globl __udivsi3
.type __udivsi3 ,function
.globl __aeabi_uidiv
.type __aeabi_uidiv ,function
.align 0
__udivsi3 :
__aeabi_uidiv :
cmp divisor, #0
beq Ldiv0
mov curbit, #1