* grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
grub_decompress_core since later would fail if grub_decompress_core is too far.
This commit is contained in:
parent
9b44fecaa6
commit
a298aa046c
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/mips/startup_raw.S: Use jalr rather than bal to call
|
||||
grub_decompress_core since later would fail if grub_decompress_core
|
||||
is too far.
|
||||
|
||||
2011-05-13 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/kern/mips/dl.c (grub_arch_dl_relocate_symbols): Handle
|
||||
|
|
|
@ -170,9 +170,11 @@ argdone:
|
|||
*/
|
||||
move $s6, $a3
|
||||
|
||||
lui $sp, %hi(_start - 256)
|
||||
lui $t0, %hi(EXT_C(grub_decompress_core))
|
||||
addiu $t0, $t0, %lo(EXT_C(grub_decompress_core))
|
||||
|
||||
bal EXT_C(grub_decompress_core)
|
||||
lui $sp, %hi(_start - 256)
|
||||
jalr $t0
|
||||
addiu $sp, $sp, %lo(_start - 256)
|
||||
|
||||
move $a0, $s1
|
||||
|
|
Loading…
Reference in a new issue