aarch64: vp8: Fix assembling with clang

Multimedia / Libav - Martin Storsjö [martin.st] - 19 February 2019 09:45 EST

This also partially fixes assembling with MS armasm64 (via gas-preprocessor).

The movrel macro invocations need to pass the offset via a separate parameter. Mach-o and COFF relocations don't allow a negative offset to a symbol, which is handled properly if the offset is passed
via the parameter. If no offset parameter is given, the macro evaluates to something like "adrp x17, subpel_filters-16+(0)", which older clang versions also fail to parse (the older clang versions only support one single offset term, although it can be a parenthesis.

26d7af4c3 aarch64: vp8: Fix assembling with clang
libavcodec/aarch64/vp8dsp_neon.S | 138 +++++++++++++++++++--------------------
1 file changed, 69 insertions(+), 69 deletions(-)

Upstream: git.libav.org


  • Share