diff options
author | Wolfgang Denk <wd@denx.de> | 2009-08-06 19:29:59 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-08-09 21:08:59 (GMT) |
commit | 59b4d7471c42e955bd9846892a0cc7478171778d (patch) | |
tree | 15db0fed51aa56d6337019c1002e14c559d08f11 /lib_arm/_divsi3.S | |
parent | 197324d7d998a791e5137b8176981b4af25220ae (diff) | |
download | u-boot-59b4d7471c42e955bd9846892a0cc7478171778d.tar.xz |
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.S | 2 |
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 |