arm: Eliminate text relocations in asm
authorJanne Grunau <janne-x264@jannau.net>
Tue, 13 Oct 2015 21:50:11 +0000 (23:50 +0200)
committerHenrik Gramner <henrik@gramner.com>
Sun, 20 Dec 2015 17:38:40 +0000 (18:38 +0100)
commitdf51d8efa8ce9afcedda64acc69c1dba2648716d
tree33fcc2fc54fe593d536b745286545ad43706440b
parenta2fe237af1b68f2bd53d64ed3faed62429d3ee5a
arm: Eliminate text relocations in asm

Android 6 does not link shared libraries with text relocations.

Make the movrel macro position independent and add movrelx for indirect
loads of external symbols.

Move the function pointer table for the aligned memcpy variants to the
data.rel.ro section on Linux/Android.
common/arm/asm.S
common/arm/mc-a.S
common/arm/quant-a.S