summaryrefslogtreecommitdiffstats
path: root/libavutil/arm
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-04 12:45:29 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 12:45:35 +0200
commita40c338a00a4e1c7f2cce189db0f406f85d5792a (patch)
tree02cc507c31e3f4071f881e2e87b934d0b09d5d38 /libavutil/arm
parentd5c9d055ea3d9b40e736257fd7b58125ada8cba8 (diff)
parentd5a55981986ac5d1a31aef3a8d16eaff8534a412 (diff)
downloadffmpeg-streaming-a40c338a00a4e1c7f2cce189db0f406f85d5792a.zip
ffmpeg-streaming-a40c338a00a4e1c7f2cce189db0f406f85d5792a.tar.gz
Merge commit 'd5a55981986ac5d1a31aef3a8d16eaff8534a412'
* commit 'd5a55981986ac5d1a31aef3a8d16eaff8534a412': build: check if AS supports the '.func' directive Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/asm.S12
1 files changed, 9 insertions, 3 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index 08669f0..35559ce 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -34,6 +34,12 @@
# define T @
#endif
+#if HAVE_AS_FUNC
+# define FUNC
+#else
+# define FUNC @
+#endif
+
#if HAVE_NEON
.arch armv7-a
#elif HAVE_ARMV6T2
@@ -66,7 +72,7 @@ ELF .section .note.GNU-stack,"",%progbits @ Mark stack as non-executable
.noaltmacro
.endif
ELF .size \name, . - \name
- .endfunc
+FUNC .endfunc
.purgem endfunc
.endm
.text
@@ -74,11 +80,11 @@ ELF .size \name, . - \name
.if \export
.global EXTERN_ASM\name
ELF .type EXTERN_ASM\name, %function
- .func EXTERN_ASM\name
+FUNC .func EXTERN_ASM\name
EXTERN_ASM\name:
.else
ELF .type \name, %function
- .func \name
+FUNC .func \name
\name:
.endif
.endm
OpenPOWER on IntegriCloud