arm: vp9mc: Insert a literal pool at the middle of the file

Message ID 1478244867-5208-1-git-send-email-martin@martin.st
State Committed
Commit 392caa65df3efa8b2d48a80f08a6af4892c61c08
Headers show

Commit Message

Martin Storsjö Nov. 4, 2016, 7:34 a.m.
This fixes errors like this when building non-pic binaries with armv6
as baseline:

Error: invalid literal constant: pool needs to be closer
---
 libavcodec/arm/vp9mc_neon.S | 1 +
 1 file changed, 1 insertion(+)

Comments

Janne Grunau Nov. 4, 2016, 4:14 p.m. | #1
On 2016-11-04 09:34:27 +0200, Martin Storsjö wrote:
> This fixes errors like this when building non-pic binaries with armv6
> as baseline:
> 
> Error: invalid literal constant: pool needs to be closer
> ---
>  libavcodec/arm/vp9mc_neon.S | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavcodec/arm/vp9mc_neon.S b/libavcodec/arm/vp9mc_neon.S
> index 557353c..cc8f241 100644
> --- a/libavcodec/arm/vp9mc_neon.S
> +++ b/libavcodec/arm/vp9mc_neon.S
> @@ -484,6 +484,7 @@ do_8tap_h_filters 16
>  do_8tap_h_filters 8
>  do_8tap_h_filters 4
>  
> +.ltorg
>  
>  @ Vertical filters

ok

Janne

Patch

diff --git a/libavcodec/arm/vp9mc_neon.S b/libavcodec/arm/vp9mc_neon.S
index 557353c..cc8f241 100644
--- a/libavcodec/arm/vp9mc_neon.S
+++ b/libavcodec/arm/vp9mc_neon.S
@@ -484,6 +484,7 @@  do_8tap_h_filters 16
 do_8tap_h_filters 8
 do_8tap_h_filters 4
 
+.ltorg
 
 @ Vertical filters