Index: lib/builtins/arm/bswapdi2.S =================================================================== --- lib/builtins/arm/bswapdi2.S +++ lib/builtins/arm/bswapdi2.S @@ -11,7 +11,11 @@ .syntax unified .text +#if __ARM_ARCH < 6 + .arm +#else DEFINE_CODE_STATE +#endif // // extern uint64_t __bswapdi2(uint64_t); Index: lib/builtins/arm/bswapsi2.S =================================================================== --- lib/builtins/arm/bswapsi2.S +++ lib/builtins/arm/bswapsi2.S @@ -11,7 +11,11 @@ .syntax unified .text +#if __ARM_ARCH < 6 + .arm +#else DEFINE_CODE_STATE +#endif // // extern uint32_t __bswapsi2(uint32_t);