lib1funcs.asm (clear_cache): Use ARM_FUNC_START and do_push/do_pop.
authorPaul Brook <paul@codesourcery.com>
Wed, 29 Jul 2009 11:38:05 +0000 (11:38 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Wed, 29 Jul 2009 11:38:05 +0000 (11:38 +0000)
2009-07-29  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/lib1funcs.asm (clear_cache): Use ARM_FUNC_START and
do_push/do_pop.

From-SVN: r150207

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

index f49b5e7c2dbe28fe9a1d4b978dd4194b385428d2..c2f972e483406b54d03339d648197d9d314f1137 100644 (file)
@@ -1,3 +1,8 @@
+2009-07-29  Paul Brook  <paul@codesourcery.com>
+
+       * config/arm/lib1funcs.asm (clear_cache): Use ARM_FUNC_START and
+       do_push/do_pop.
+
 2009-07-29  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/40577
index 987bfcb3ba44c83346fb5d114f1711cb582caee1..03446f8d03b5e4bc7e46bb959027e1a530206ae8 100644 (file)
@@ -1108,8 +1108,8 @@ LSYM(Lover12):
 #ifdef L_clear_cache
 #if defined __ARM_EABI__ && defined __linux__
 @ EABI GNU/Linux call to cacheflush syscall.
-       FUNC_START clear_cache
-       push    {r7}
+       ARM_FUNC_START clear_cache
+       do_push {r7}
 #if __ARM_ARCH__ >= 7 || defined(__ARM_ARCH_6T2__)
        movw    r7, #2
        movt    r7, #0xf
@@ -1119,7 +1119,7 @@ LSYM(Lover12):
 #endif
        mov     r2, #0
        swi     0
-       pop     {r7}
+       do_pop  {r7}
        RET
        FUNC_END clear_cache
 #else