diff options
author | Erich Keane <erich.keane@intel.com> | 2017-07-21 22:47:46 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2017-07-21 22:47:46 +0000 |
commit | ce339bb5f5f79904d6e39b9ca152873aaae840ab (patch) | |
tree | 311f61c414e6bfad2ea6eb6b0f6c6ae9e86baf5a | |
parent | ecbdaaaa7a191059b66291b93f6874e7189e4ed9 (diff) |
Remove Bitrig: CompilerRT Changes
Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned.
Differential Revision: https://reviews.llvm.org/D35709
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@308798 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/builtins/clear_cache.c | 4 | ||||
-rw-r--r-- | lib/builtins/int_endianness.h | 4 | ||||
-rw-r--r-- | test/builtins/Unit/endianness.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/builtins/clear_cache.c b/lib/builtins/clear_cache.c index 25570fc21..37c5fbe7d 100644 --- a/lib/builtins/clear_cache.c +++ b/lib/builtins/clear_cache.c @@ -23,7 +23,7 @@ uint32_t FlushInstructionCache(uintptr_t hProcess, void *lpBaseAddress, uintptr_t GetCurrentProcess(void); #endif -#if (defined(__FreeBSD__) || defined(__Bitrig__)) && defined(__arm__) +#if defined(__FreeBSD__) && defined(__arm__) #include <sys/types.h> #include <machine/sysarch.h> #endif @@ -96,7 +96,7 @@ void __clear_cache(void *start, void *end) { * so there is nothing to do */ #elif defined(__arm__) && !defined(__APPLE__) - #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__Bitrig__) + #if defined(__FreeBSD__) || defined(__NetBSD__) struct arm_sync_icache_args arg; arg.addr = (uintptr_t)start; diff --git a/lib/builtins/int_endianness.h b/lib/builtins/int_endianness.h index 7995ddbb9..e2586c56b 100644 --- a/lib/builtins/int_endianness.h +++ b/lib/builtins/int_endianness.h @@ -61,7 +61,7 @@ #endif /* *BSD */ -#if defined(__OpenBSD__) || defined(__Bitrig__) +#if defined(__OpenBSD__) #include <machine/endian.h> #if _BYTE_ORDER == _BIG_ENDIAN @@ -72,7 +72,7 @@ #define _YUGA_BIG_ENDIAN 0 #endif /* _BYTE_ORDER */ -#endif /* OpenBSD and Bitrig. */ +#endif /* OpenBSD */ /* .. */ diff --git a/test/builtins/Unit/endianness.h b/test/builtins/Unit/endianness.h index 06c53de0b..9cecd2165 100644 --- a/test/builtins/Unit/endianness.h +++ b/test/builtins/Unit/endianness.h @@ -51,7 +51,7 @@ /* .. */ -#if defined(__OpenBSD__) || defined(__Bitrig__) +#if defined(__OpenBSD__) #include <machine/endian.h> #if _BYTE_ORDER == _BIG_ENDIAN @@ -62,7 +62,7 @@ #define _YUGA_BIG_ENDIAN 0 #endif /* _BYTE_ORDER */ -#endif /* OpenBSD and Bitrig. */ +#endif /* OpenBSD */ /* .. */ |