grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] relocator: Fix comment in code


From: Frediano Ziglio
Subject: [PATCH] relocator: Fix comment in code
Date: Tue, 3 Sep 2024 09:00:29 +0100

The instruction uses a 64 bit immediate.

Signed-off-by: Frediano Ziglio <frediano.ziglio@cloud.com>
---
 grub-core/lib/x86_64/relocator_asm.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/grub-core/lib/x86_64/relocator_asm.S 
b/grub-core/lib/x86_64/relocator_asm.S
index 2ab6d8cb7..fd9b2b44e 100644
--- a/grub-core/lib/x86_64/relocator_asm.S
+++ b/grub-core/lib/x86_64/relocator_asm.S
@@ -22,7 +22,7 @@
        .p2align        2
 
 VARIABLE(grub_relocator_backward_start)
-       /* mov imm32, %rax */
+       /* mov imm64, %rax */
        .byte   0x48
        .byte   0xb8
 VARIABLE(grub_relocator_backward_dest)
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]