ARM: set section to .text in 'function' macro
authorMåns Rullgård <mans@mansr.com>
Wed, 7 Jul 2010 20:09:41 +0000 (20:09 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 7 Jul 2010 20:09:41 +0000 (20:09 +0000)
This ensures code always goes into the .text section and avoids the
need to specify it explicitly after changing sections.

Originally committed as revision 24095 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/arm/asm.S

index 724e7a0..f364a24 100644 (file)
@@ -40,6 +40,7 @@ ELF     .size   \name, . - \name
         .endfunc
         .purgem endfunc
     .endm
+        .text
     .if \export
         .global EXTERN_ASM\name
 EXTERN_ASM\name: