From e21a892163a49500a04ffa54923f3761453791ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 27 Jul 2009 12:53:44 +0000 Subject: [PATCH] =?UTF-8?q?Conditionally=20compile=20ELF-specific=20ARM=20?= =?UTF-8?q?assembly=20bits=20that=20fail=20on=20Windows=20CE.=20patch=20by?= =?UTF-8?q?=20Martin=20Storsj=C3=B6,=20martin=20martin=20st?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 19514 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/arm/asm.S | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S index 087b279651..e2a86c8f3e 100644 --- a/libavcodec/arm/asm.S +++ b/libavcodec/arm/asm.S @@ -21,18 +21,24 @@ #include "config.h" .macro require8, val=1 +#ifdef __ELF__ .eabi_attribute 24, \val +#endif .endm .macro preserve8, val=1 +#ifdef __ELF__ .eabi_attribute 25, \val +#endif .endm .macro function name, export=0 .if \export .global \name .endif +#ifdef __ELF__ .type \name, %function +#endif .func \name \name: .endm