Merge commit '5584abf69d83169a010aca404cd1cf95c23ad9ef'
authorJames Almer <jamrial@gmail.com>
Wed, 20 Feb 2019 16:51:30 +0000 (13:51 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 20 Feb 2019 16:51:30 +0000 (13:51 -0300)
* commit '5584abf69d83169a010aca404cd1cf95c23ad9ef':
  arm: Emit .thumb_func directives

Merged-by: James Almer <jamrial@gmail.com>
libavutil/arm/asm.S

index 6744f2a..5fc8559 100644 (file)
 #   define FPU @
 #endif
 
+#if CONFIG_THUMB && defined(__APPLE__)
+#   define TFUNC
+#else
+#   define TFUNC @
+#endif
+
 #if HAVE_AS_ARCH_DIRECTIVE
 #if   HAVE_NEON
         .arch           armv7-a
@@ -98,10 +104,12 @@ FUNC    .endfunc
         .global EXTERN_ASM\name
 ELF     .type   EXTERN_ASM\name, %function
 FUNC    .func   EXTERN_ASM\name
+TFUNC   .thumb_func EXTERN_ASM\name
 EXTERN_ASM\name:
     .else
 ELF     .type   \name, %function
 FUNC    .func   \name
+TFUNC   .thumb_func \name
 \name:
     .endif
 .endm