lib1funcs.asm (FUNC_ALIAS): New macro.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 18 Feb 2005 14:46:47 +0000 (14:46 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 18 Feb 2005 14:46:47 +0000 (14:46 +0000)
* arm/lib1funcs.asm (FUNC_ALIAS): New macro.
(div0): Use it in place of ARM_FUNC_ALIAS.
(lshrdi3, ashrdi3, ashlrdi3): Likewise.

From-SVN: r95228

gcc/ChangeLog
gcc/config/arm/lib1funcs.asm

index 97c9e90017c501cb17b421e7618a0a89a03f2083..99461761c7d6d9b87f8d7f6835da82e9f92f26e4 100644 (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
index d6bf195ee2d610a1d7a9fd959ade02efa17e82bb..be7c26842135acdda97cd8917baec90c01907c28 100644 (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