arm: Clear the gp register alias at the end of functions
authorMartin Storsjö <martin@martin.st>
Thu, 10 Nov 2016 11:23:38 +0000 (13:23 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 10 Nov 2016 12:01:04 +0000 (14:01 +0200)
commit824e8c284054f323f854892d1b4739239ed1fdc7
tree78bc6aa2fbcc06d661cd70137660331d7a43c816
parent905cdcaa9d081d3d945ce555b27b43a75c3af57b
arm: Clear the gp register alias at the end of functions

We reset .Lpic_gp to zero at the start of each function, which means
that the logic within movrelx for clearing gp when necessary will
be missed.

This fixes using movrelx in different functions with a different
helper register.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/arm/asm.S