From 59b4d7471c42e955bd9846892a0cc7478171778d Mon Sep 17 00:00:00 2001 From: Wolfgang Denk Date: Thu, 6 Aug 2009 21:29:59 +0200 Subject: ARM EABI: add new helper functions resp. function names The ARM EABI defines new names for GCC helper functions, and GCC seems to need some new functions as well. This patch is a minimal-invasive approach to fix problems with EABI conformant tool chains (to be used with "USE_PRIVATE_LIBGCC=yes"). Signed-off-by: Wolfgang Denk Tested-by: Dirk Behme --- lib_arm/_divsi3.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib_arm/_divsi3.S') diff --git a/lib_arm/_divsi3.S b/lib_arm/_divsi3.S index 9dc15f6..cfbadb2 100644 --- a/lib_arm/_divsi3.S +++ b/lib_arm/_divsi3.S @@ -96,7 +96,9 @@ .align 5 .globl __divsi3 +.globl __aeabi_idiv __divsi3: +__aeabi_idiv: cmp r1, #0 eor ip, r0, r1 @ save the sign of the result. beq Ldiv0 -- cgit v1.1