diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h --- a/compiler-rt/lib/builtins/assembly.h +++ b/compiler-rt/lib/builtins/assembly.h @@ -191,10 +191,10 @@ #if __ARM_ARCH >= 7 #define DMB dmb -#elif __ARM_ARCH >= 6 +#elif __ARM_ARCH >= 5 #define DMB mcr p15, #0, r0, c7, c10, #5 #else -#error only supported on ARMv6+ +#error only supported on ARMv5+ #endif #if defined(USE_THUMB_2)