Commit 20ab1462 authored by Tom Rini's avatar Tom Rini

PPC32: Fix an old thinko in arch/ppc/boot/simple/relocate.S

parent 9deca137
...@@ -101,8 +101,8 @@ relocate: ...@@ -101,8 +101,8 @@ relocate:
GETSYM(r4, __relocate_start) GETSYM(r4, __relocate_start)
GETSYM(r5, do_relocate) GETSYM(r5, do_relocate)
sub r4,r5,r4 /* Get entry point for do_relocate in sub r4,r5,r4 /* Get entry point for do_relocate in */
add r6,r6,r4 * relocated section */ add r6,r6,r4 /* relocated section */
/* This will return to the relocated do_relocate */ /* This will return to the relocated do_relocate */
mtlr r6 mtlr r6
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment