From cf9c227e58c29a46e6437ac15ae63884d573ec13 Mon Sep 17 00:00:00 2001
From: Mans Rullgard <mans@mansr.com>
Date: Sat, 26 Feb 2011 18:04:53 +0000
Subject: [PATCH] ARM: fix vp8 neon with pic enabled

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@mansr.com>
(cherry picked from commit 8b454c352f49c2a61db37793d838b553db3da734)
---
 libavcodec/arm/vp8dsp_neon.S | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/arm/vp8dsp_neon.S b/libavcodec/arm/vp8dsp_neon.S
index 01c39593a0b..23330900f72 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}
-- 
GitLab