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:
parent
a5c776de1d
commit
8fe23d32d9
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue