[x264-devel] [PATCH 1/2] arm: eliminate text relocations in asm

Martin Storsjö martin at martin.st
Wed Oct 14 09:43:28 CEST 2015


On Tue, 13 Oct 2015, Janne Grunau wrote:

> 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     | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++-
> common/arm/mc-a.S    |  5 +++--
> common/arm/quant-a.S |  4 ++--
> 3 files changed, 65 insertions(+), 5 deletions(-)

LGTM, thanks!

// Martin


More information about the x264-devel mailing list