From 8fe23d32d9c59823cc6c8417c380553eb121bbc5 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 16 Dec 2009 15:29:45 +0100 Subject: [PATCH] arm/lib: add eabi names of helper functions Since commit e2b4a792f8751d906d17b7ae343952f78dc41d67, 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 --- arch/arm/lib/_ashldi3.S | 2 ++ arch/arm/lib/_ashrdi3.S | 2 ++ arch/arm/lib/_divsi3.S | 2 ++ arch/arm/lib/_lshrdi3.S | 2 ++ arch/arm/lib/_udivsi3.S | 3 +++ 5 files changed, 11 insertions(+) diff --git a/arch/arm/lib/_ashldi3.S b/arch/arm/lib/_ashldi3.S index 7344aa763..e1c1bf3a5 100644 --- a/arch/arm/lib/_ashldi3.S +++ b/arch/arm/lib/_ashldi3.S @@ -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 diff --git a/arch/arm/lib/_ashrdi3.S b/arch/arm/lib/_ashrdi3.S index 899455718..e6315547d 100644 --- a/arch/arm/lib/_ashrdi3.S +++ b/arch/arm/lib/_ashrdi3.S @@ -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 diff --git a/arch/arm/lib/_divsi3.S b/arch/arm/lib/_divsi3.S index f6cd2f933..2fbb49d58 100644 --- a/arch/arm/lib/_divsi3.S +++ b/arch/arm/lib/_divsi3.S @@ -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 diff --git a/arch/arm/lib/_lshrdi3.S b/arch/arm/lib/_lshrdi3.S index 44b335bdf..71e7f3e3d 100644 --- a/arch/arm/lib/_lshrdi3.S +++ b/arch/arm/lib/_lshrdi3.S @@ -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 diff --git a/arch/arm/lib/_udivsi3.S b/arch/arm/lib/_udivsi3.S index 1975a0e0f..bc89b276c 100644 --- a/arch/arm/lib/_udivsi3.S +++ b/arch/arm/lib/_udivsi3.S @@ -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