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
This commit is contained in:
Paul Brook 2009-07-29 11:38:05 +00:00 committed by Paul Brook
parent 3ff38f33e6
commit 0244b03f86
2 changed files with 8 additions and 3 deletions

View 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

View 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