aarch64: Add an offset parameter to the movrel macro
authorMartin Storsjö <martin@martin.st>
Mon, 14 Nov 2016 10:32:24 +0000 (12:32 +0200)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 15 Nov 2016 20:10:03 +0000 (15:10 -0500)
commit7fe898dbb949f0e31665d716f671e2428d50bb29
treecb9aee06e57af0d83b91634225fd128426501023
parent6bec60a683a530ac3bf5a19e5c3d087b5dd047a1
aarch64: Add an offset parameter to the movrel macro

With apple tools, the linker fails with errors like these, if the
offset is negative:

ld: in section __TEXT,__text reloc 8: symbol index out of range for architecture arm64

This is cherry-picked from libav commit
c44a8a3eabcd6acd2ba79f32ec8a432e6ebe552c.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavutil/aarch64/asm.S