Browse Source

ARM: set section to .text in 'function' macro

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
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
278caa6ad3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/arm/asm.S

+ 1
- 0
libavcodec/arm/asm.S View File

@@ -40,6 +40,7 @@ ELF .size \name, . - \name
.endfunc .endfunc
.purgem endfunc .purgem endfunc
.endm .endm
.text
.if \export .if \export
.global EXTERN_ASM\name .global EXTERN_ASM\name
EXTERN_ASM\name: EXTERN_ASM\name:


Loading…
Cancel
Save