]> git.sesse.net Git - ffmpeg/commit
libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.S
authorManoj Gupta <manojgupta@chromium.org>
Fri, 28 Dec 2018 23:12:53 +0000 (15:12 -0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 3 Jan 2019 19:12:07 +0000 (20:12 +0100)
commit6fcf813110fe390e835d14865d9f62cc3a7f23e5
tree8dcbe897fe1990096025060bca1ffe72386c6b49
parentbf96937a961baeef75236ad0b986a1bb17906143
libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.S

Some of the assembly functions e.g. ff_h264_idct_dc_add_neon
has code like:
        movrel          x14, X(ff_h264_idct_add_neon)

Linker cannot resolve them fully at link time and emits dynamic
relocations.
Use explicit labels instead so that no dynamic relocations are
needed at all.

This avoids lld complains about text relocations.

For background, see https://crbug.com/917919

Signed-off-by: Manoj Gupta <manojgupta@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/aarch64/h264idct_neon.S