Commit 0244b03f by Paul Brook Committed by Paul Brook

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
parent 3ff38f33
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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment