Leverage cacheTextUpdate for __clear_cache on VxWorks
authorOlivier Hainque <hainque@gcc.gnu.org>
Fri, 21 Sep 2018 13:09:51 +0000 (13:09 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Fri, 21 Sep 2018 13:09:51 +0000 (13:09 +0000)
commit5244089f1518bed96b73dfd52bbdc436f180696d
tree11df61031d7ba534f20094e2dd43d10fd1ff5b27
parent8d0ef282099ee0681222631bfb6421e28a177906
Leverage cacheTextUpdate for __clear_cache on VxWorks

2018-09-21  Alexandre Oliva  <oliva@adacore.com>

libgcc/
* config/vxcache.c: New file.  Provide __clear_cache, based on
the cacheTextUpdate VxWorks service.
* config/t-vxworks (LIB2ADD): Add vxcache.c.
(LIB2FUNCS_EXCLUDE): Add _clear_cache.
* config/t-vxwoks7: Likewise.
gcc/
* config/vxworks.h (CLEAR_INSN_CACHE): #define to 1.

From-SVN: r264479
gcc/ChangeLog
gcc/config/vxworks.h
libgcc/ChangeLog
libgcc/config/t-vxworks
libgcc/config/t-vxworks7
libgcc/config/vxcache.c [new file with mode: 0644]