[FFmpeg-devel] [PATCH 1/2] ARM: fix vp8 neon with pic enabled

Martin Storsjö martin
Sat Feb 26 19:23:22 CET 2011


On Sat, 26 Feb 2011, Mans Rullgard wrote:

> The assembler emits literal pools too far from the load instructions,
> so we must do it explicitly at a suitable location.
> 
> Signed-off-by: Mans Rullgard <mans at mansr.com>
> ---
>  libavcodec/arm/vp8dsp_neon.S |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/libavcodec/arm/vp8dsp_neon.S b/libavcodec/arm/vp8dsp_neon.S
> index 01c3959..2333090 100644
> --- a/libavcodec/arm/vp8dsp_neon.S
> +++ b/libavcodec/arm/vp8dsp_neon.S
> @@ -1294,6 +1294,8 @@ function ff_put_vp8_epel8_h4v6_neon, export=1
>          pop             {r4,pc}
>  endfunc
>  
> +.ltorg
> +
>  function ff_put_vp8_epel4_v6_neon, export=1
>          sub             r2,  r2,  r3,  lsl #1
>          push            {r4,lr}
> -- 
> 1.7.4.1

Thanks, this one fixes builds with the arm-linux-androideabi-4.4.3 
toolchain for me.

// Martin



More information about the ffmpeg-devel mailing list