I tried to build current libav for ios and beside the know bug in the gas-preprocessor (any per wizard willing to help fixing it?) there is a symbol not marked with X().

Patch attached (since I hadn't configured macosx sendmail properly apparently).

lu
>From 395619cb03d28c180b83c9b40ed2be2af648fa24 Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_z...@gentoo.org>
Date: Mon, 9 May 2011 21:12:10 +0200
Subject: [PATCH] arm: properly mark external symbol call

Mark memset using X() in order to unbreak macosx building
---
 libavcodec/arm/ac3dsp_armv6.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/arm/ac3dsp_armv6.S b/libavcodec/arm/ac3dsp_armv6.S
index 7f01add..8026cb7 100644
--- a/libavcodec/arm/ac3dsp_armv6.S
+++ b/libavcodec/arm/ac3dsp_armv6.S
@@ -79,5 +79,5 @@ function ff_ac3_bit_alloc_calc_bap_armv6, export=1
         ldr             r0,  [sp, #12]
         mov             r1,  #0
         mov             r2,  #256
-        b               memset
+        b               X(memset)
 endfunc
-- 
1.7.5.rc1

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to