aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-07-29 11:38:05 +0000
committerPaul Brook <pbrook@gcc.gnu.org>2009-07-29 11:38:05 +0000
commit0244b03f86d32bba97820bf2212443c15b0597fe (patch)
tree462fb7e66c484c22f708cbf1b487d0f930269824
parent3ff38f33e666dc1eadd5daeba3c1c60b6c06f508 (diff)
downloadgcc-0244b03f86d32bba97820bf2212443c15b0597fe.zip
gcc-0244b03f86d32bba97820bf2212443c15b0597fe.tar.gz
gcc-0244b03f86d32bba97820bf2212443c15b0597fe.tar.bz2
lib1funcs.asm (clear_cache): Use ARM_FUNC_START and do_push/do_pop.
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/lib1funcs.asm6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f49b5e7..c2f972e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/arm/lib1funcs.asm b/gcc/config/arm/lib1funcs.asm
index 987bfcb..03446f8 100644
--- a/gcc/config/arm/lib1funcs.asm
+++ b/gcc/config/arm/lib1funcs.asm
@@ -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