diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-07 19:30:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-07 19:30:51 +0100 |
commit | 9a1884a10ecd780e92333a5719d67f6f09157a65 (patch) | |
tree | c7b630771d31a3ac32a1449f651291ea26b227d1 | |
parent | 1be605426140990e152793d24162eabc78a7c2e5 (diff) | |
parent | dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73 (diff) | |
download | ffmpeg-9a1884a10ecd780e92333a5719d67f6f09157a65.tar.gz |
Merge commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73'
* commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73':
arm: Suppress tags about used cpu arch and extensions
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | libavutil/arm/asm.S | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1769,6 +1769,7 @@ SYSTEM_FUNCS=" TOOLCHAIN_FEATURES=" as_dn_directive as_func + as_object_arch asm_mod_q attribute_may_alias attribute_packed @@ -4508,6 +4509,11 @@ if enabled_any arm aarch64 || enabled_all ppc altivec && enabled asm; then .func test .endfunc EOF + + # llvm's integrated assembler supports .object_arch from llvm 3.5 + enabled arm && test "$objformat" = elf && check_as <<EOF && enable as_object_arch +.object_arch armv4 +EOF fi check_inline_asm inline_asm_labels '"1:\n"' diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index 1d0e5a97b2..e9b0bcabdb 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -49,11 +49,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 |