For now, disable the __clear_cache implementation for mips in

compiler-rt, since we do not yet have the required syscall.
This commit is contained in:
Dimitry Andric 2015-03-14 18:38:07 +00:00
parent 2dbe5fa718
commit fa77b333f3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang360-import/; revision=279998

View File

@ -22,7 +22,7 @@
#include <machine/sysarch.h>
#endif
#if defined(__mips__)
#if defined(__mips__) && !defined(__FreeBSD__)
#include <sys/cachectl.h>
#include <sys/syscall.h>
#if defined(__ANDROID__) && defined(__LP64__)
@ -109,7 +109,7 @@ void __clear_cache(void *start, void *end) {
#else
compilerrt_abort();
#endif
#elif defined(__mips__)
#elif defined(__mips__) && !defined(__FreeBSD__)
const uintptr_t start_int = (uintptr_t) start;
const uintptr_t end_int = (uintptr_t) end;
#if defined(__ANDROID__) && defined(__LP64__)