Skip to content
Snippets Groups Projects
Commit a1a47d3c authored by Andreas Bießmann's avatar Andreas Bießmann Committed by Wolfgang Denk
Browse files

arm: relocate_code(): do not set register useless


In case we are still at relocation target address before relocation we
do not need to load the registers needed for relocation. We should
instead skip the whole relocation part and jump over to clear_bss
immediately.

Signed-off-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent a78fb68f
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