Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/asm.S10
1 files changed, 8 insertions, 2 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index 943c1cea3f..1a048b56fb 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -40,6 +40,12 @@
# define FUNC @
#endif
+#if HAVE_AS_FPU_DIRECTIVE
+# define FPU
+#else
+# define FPU @
+#endif
+
#if HAVE_NEON
.arch armv7-a
#elif HAVE_ARMV6T2
@@ -54,11 +60,11 @@ ELF .object_arch armv4
#endif
#if HAVE_NEON
- .fpu neon
+FPU .fpu neon
ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch
ELF .eabi_attribute 12, 0 @ suppress Tag_Advanced_SIMD_arch
#elif HAVE_VFP
- .fpu vfp
+FPU .fpu vfp
ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch
#endif