summaryrefslogtreecommitdiff
path: root/lib_arm/_divsi3.S
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-08-06 21:29:59 +0200
committerWolfgang Denk <wd@denx.de>2009-08-09 23:08:59 +0200
commit59b4d7471c42e955bd9846892a0cc7478171778d (patch)
tree15db0fed51aa56d6337019c1002e14c559d08f11 /lib_arm/_divsi3.S
parent197324d7d998a791e5137b8176981b4af25220ae (diff)
downloadu-boot-imx-59b4d7471c42e955bd9846892a0cc7478171778d.zip
u-boot-imx-59b4d7471c42e955bd9846892a0cc7478171778d.tar.gz
u-boot-imx-59b4d7471c42e955bd9846892a0cc7478171778d.tar.bz2
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 <wd@denx.de> Tested-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'lib_arm/_divsi3.S')
-rw-r--r--lib_arm/_divsi3.S2
1 files changed, 2 insertions, 0 deletions
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