+2005-02-18 Richard Earnshaw <rearnsha@arm.com>
+
+ * arm/lib1funcs.asm (FUNC_ALIAS): New macro.
+ (div0): Use it in place of ARM_FUNC_ALIAS.
+ (lshrdi3, ashrdi3, ashlrdi3): Likewise.
+
2005-02-18 Andrew Pinski <pinskia@physics.uc.edu>
PR middle-end/20030
.endm
#endif
+.macro FUNC_ALIAS new old
+ .globl SYM (__\new)
+ EQUIV SYM (__\new), SYM (__\old)
+.endm
+
.macro ARM_FUNC_ALIAS new old
.globl SYM (__\new)
EQUIV SYM (__\new), SYM (__\old)
#ifdef L_dvmd_tls
FUNC_START div0
- ARM_FUNC_ALIAS aeabi_idiv0 div0
- ARM_FUNC_ALIAS aeabi_ldiv0 div0
+ FUNC_ALIAS aeabi_idiv0 div0
+ FUNC_ALIAS aeabi_ldiv0 div0
RET
#ifdef L_lshrdi3
FUNC_START lshrdi3
- ARM_FUNC_ALIAS aeabi_llsr lshrdi3
+ FUNC_ALIAS aeabi_llsr lshrdi3
#ifdef __thumb__
lsr al, r2
#ifdef L_ashrdi3
FUNC_START ashrdi3
- ARM_FUNC_ALIAS aeabi_lasr ashrdi3
+ FUNC_ALIAS aeabi_lasr ashrdi3
#ifdef __thumb__
lsr al, r2
#ifdef L_ashldi3
FUNC_START ashldi3
- ARM_FUNC_ALIAS aeabi_llsl ashldi3
+ FUNC_ALIAS aeabi_llsl ashldi3
#ifdef __thumb__
lsl ah, r2