diff options
author | rus <rus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-22 20:36:22 +0000 |
---|---|---|
committer | rus <rus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-09-22 20:36:22 +0000 |
commit | 19f10e6299103d689242595814fbfbe645e43d2b (patch) | |
tree | 991c568e6cc349d332410fed35b5307113d81e83 /gcc/config/arm/linux-eabi.h | |
parent | bf32534d44b15c2e38cf759146dbc72053532f0b (diff) | |
download | gcc-19f10e6299103d689242595814fbfbe645e43d2b.tar.gz |
merge from trunk latest revision 151935
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/profile-stdlib@152045 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/linux-eabi.h')
-rw-r--r-- | gcc/config/arm/linux-eabi.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gcc/config/arm/linux-eabi.h b/gcc/config/arm/linux-eabi.h index 4174d70db4d..780a504add2 100644 --- a/gcc/config/arm/linux-eabi.h +++ b/gcc/config/arm/linux-eabi.h @@ -72,16 +72,8 @@ do not use -lfloat. */ #undef LIBGCC_SPEC -/* Clear the instruction cache from `beg' to `end'. This makes an - inline system call to SYS_cacheflush. */ +/* Clear the instruction cache from `beg' to `end'. This is + implemented in lib1funcs.asm, so ensure an error if this definition + is used. */ #undef CLEAR_INSN_CACHE -#define CLEAR_INSN_CACHE(BEG, END) \ -{ \ - register unsigned long _beg __asm ("a1") = (unsigned long) (BEG); \ - register unsigned long _end __asm ("a2") = (unsigned long) (END); \ - register unsigned long _flg __asm ("a3") = 0; \ - register unsigned long _scno __asm ("r7") = 0xf0002; \ - __asm __volatile ("swi 0 @ sys_cacheflush" \ - : "=r" (_beg) \ - : "0" (_beg), "r" (_end), "r" (_flg), "r" (_scno)); \ -} +#define CLEAR_INSN_CACHE(BEG, END) not_used |