[ARC] Clear the instruction cache using syscalls.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 30 Apr 2018 13:16:24 +0000 (15:16 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 30 Apr 2018 13:16:24 +0000 (15:16 +0200)
commit6fe3b9fdd591ea8c5590c87bb5aecd922ada6072
tree1acc205e28c49df026350216419425c894c681fa
parente0be3321b908443c46b69c888c53b3fddc4cf797
[ARC] Clear the instruction cache using syscalls.

Clear the instruction cache from `beg' to `end'.  This makes an inline
system call to SYS_cacheflush.

gcc/
2017-03-28  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/linux.h (CLEAR_INSN_CACHE): Define.

From-SVN: r259764
gcc/ChangeLog
gcc/config/arc/linux.h