Skip to content
Commit 6158faed authored by Michael Ellerman's avatar Michael Ellerman
Browse files

powerpc/lib: Add alt patching test of branching past the last instruction



Add a test of the relative branch patching logic in the alternate
section feature fixup code. This tests that if we branch past the last
instruction of the alternate section, the branch is not patched.
That's because the assembler will have created a branch that already
points to the first instruction after the patched section, which is
correct and needs no further patching.

Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent b58e7987
Loading
Loading
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