lib1funcs.asm (FUNC_ALIAS): New macro.

* arm/lib1funcs.asm (FUNC_ALIAS): New macro.
	(div0): Use it in place of ARM_FUNC_ALIAS.
	(lshrdi3, ashrdi3, ashlrdi3): Likewise.

From-SVN: r95228
This commit is contained in:
Richard Earnshaw 2005-02-18 14:46:47 +00:00 committed by Richard Earnshaw
parent 77f0448187
commit 2155b88625
2 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,9 @@
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

View file

@ -223,6 +223,11 @@ SYM (__\name):
.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)
@ -885,8 +890,8 @@ LSYM(Lover12):
#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
@ -939,7 +944,7 @@ LSYM(Lover12):
#ifdef L_lshrdi3
FUNC_START lshrdi3
ARM_FUNC_ALIAS aeabi_llsr lshrdi3
FUNC_ALIAS aeabi_llsr lshrdi3
#ifdef __thumb__
lsr al, r2
@ -971,7 +976,7 @@ LSYM(Lover12):
#ifdef L_ashrdi3
FUNC_START ashrdi3
ARM_FUNC_ALIAS aeabi_lasr ashrdi3
FUNC_ALIAS aeabi_lasr ashrdi3
#ifdef __thumb__
lsr al, r2
@ -1008,7 +1013,7 @@ LSYM(Lover12):
#ifdef L_ashldi3
FUNC_START ashldi3
ARM_FUNC_ALIAS aeabi_llsl ashldi3
FUNC_ALIAS aeabi_llsl ashldi3
#ifdef __thumb__
lsl ah, r2