Skip to content
Snippets Groups Projects
Commit 86c5a23e authored by Martin Storsjö's avatar Martin Storsjö Committed by Ronald S. Bultje
Browse files

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.

This is cherry-picked from libav commit
824e8c28.

Signed-off-by: default avatarRonald S. Bultje <rsbultje@gmail.com>
parent 6409e9b6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment