aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/asm.S
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-09 16:17:56 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-09 16:17:56 +0000
commita7e7d40c2ead00b4435b06c0c01432e51459bf9f (patch)
tree7521febd58cce91d589773519cbdaa9a2490e926 /libavcodec/arm/asm.S
parentdb76ca7f3543ab9caadce1bda6d70d5c1d9be011 (diff)
downloadffmpeg-a7e7d40c2ead00b4435b06c0c01432e51459bf9f.tar.gz
ARM: set size of asm functions in object files
Originally committed as revision 22404 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/asm.S')
-rw-r--r--libavcodec/arm/asm.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
index 1ee431d94e..96b5864e80 100644
--- a/libavcodec/arm/asm.S
+++ b/libavcodec/arm/asm.S
@@ -35,6 +35,11 @@ ELF .eabi_attribute 25, \val
.endm
.macro function name, export=0
+ .macro endfunc
+ .size \name, . - \name
+ .endfunc
+ .purgem endfunc
+ .endm
.if \export
.global EXTERN_ASM\name
EXTERN_ASM\name: