aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-10 13:44:31 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-10 13:44:40 +0100
commitdec5586bc7340e4aeca86f22c64846767814a8f2 (patch)
tree1c060dc6d8555a3630826bcf69a14bc7d1694896
parentc5587516ca9155d575b9dd584ea746ebc2e333bd (diff)
parent9841654c158c80e9d525ba03754135d3f34e306e (diff)
downloadffmpeg-dec5586bc7340e4aeca86f22c64846767814a8f2.tar.gz
Merge commit '9841654c158c80e9d525ba03754135d3f34e306e' into release/1.1
* commit '9841654c158c80e9d525ba03754135d3f34e306e': arm: Suppress tags about used cpu arch and extensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure6
-rw-r--r--libavutil/arm/asm.S6
2 files changed, 12 insertions, 0 deletions
diff --git a/configure b/configure
index c5ccd3eda1..40b141b788 100755
--- a/configure
+++ b/configure
@@ -1365,6 +1365,7 @@ HAVE_LIST="
alsa_asoundlib_h
altivec_h
arpa_inet_h
+ as_object_arch
asm_mod_q
asm_mod_y
asm_types_h
@@ -3564,6 +3565,11 @@ EOF
enabled_all armv6t2 shared !pic && enable_pic
+ # llvm's integrated assembler supports .object_arch from llvm 3.5
+ [ "$objformat" = elf ] && check_as <<EOF && enable as_object_arch
+.object_arch armv4
+EOF
+
elif enabled mips; then
check_inline_asm loongson '"dmult.g $1, $2, $3"'
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index 94229da839..4d2a32e934 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -43,11 +43,17 @@
#elif HAVE_ARMV5TE
.arch armv5te
#endif
+#if HAVE_AS_OBJECT_ARCH
+ELF .object_arch armv4
+#endif
#if HAVE_NEON
.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
+ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch
#endif
.syntax unified