[FFmpeg-cvslog] arm: Only output eabi attributes if building for ELF

Martin Storsjö git at videolan.org
Mon May 27 08:59:34 CEST 2013


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Sun May 26 12:47:33 2013 +0300| [be7952b5c3ace9aba4a4121d7bb540ac5257594c] | committer: Martin Storsjö

arm: Only output eabi attributes if building for ELF

This matches the other eabi attribute in the same file. This is
required in order to build for arm/hardfloat with other object
file formats than ELF.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be7952b5c3ace9aba4a4121d7bb540ac5257594c
---

 libavutil/arm/asm.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index a181789..4638200 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -291,7 +291,7 @@ T       sub             \rn, \rn, \rm
 .endm
 
 #if HAVE_VFP_ARGS
-        .eabi_attribute 28, 1
+ELF     .eabi_attribute 28, 1
 #   define VFP
 #   define NOVFP @
 #else



More information about the ffmpeg-cvslog mailing list