mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-22 15:22:39 +00:00
Simplify reloc
This commit is contained in:
1 parent
8af26e386c
commit
f9ee0c3e5d
3 files changed
+6
-7
No files matched your search
@@ -122,12 +122,6 @@ reloc_done:
|
||||
|
||||
add r1, r1, #GRUB_KERNEL_MACHINE_STACK_SIZE
|
||||
and r1, r1, #~0x7 @ Ensure 8-byte alignment
|
||||
|
||||
@ Do not put modules before the end of relocations.
|
||||
@ Instead increase stack size
|
||||
@ r1 = max (r1, r0)
|
||||
cmp r0, r1
|
||||
movcs r1, r0
|
||||
|
||||
sub sp, r1, #8
|
||||
add r1, r1, #1024
|
||||
|
||||
Reference in new issue
Block a user