]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
lib/i386/relocator64: Fix 64-bit FreeBSD boot on BIOS
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 8 Jul 2023 13:50:23 +0000 (15:50 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 3 Oct 2023 10:46:37 +0000 (12:46 +0200)
The commit 80948f532d (lib/i386/relocator64: Build fixes for i386) has
broken 64-bit FreeBSD boot on BIOS. This patch fixes the issue.

Fixes: 80948f532d (lib/i386/relocator64: Build fixes for i386)
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/lib/i386/relocator64.S

index 00bf3159921371bc759e51d0539964bc81a064b4..c80538e7eaf0ff0a1a777f0a1c57252a42207e1d 100644 (file)
@@ -151,7 +151,7 @@ VARIABLE(grub_relocator64_rdx)
 
 #if defined (__APPLE__) || !defined (__x86_64__)
        .byte 0xff, 0x25
-       .quad 0
+       .long 0
 #else
        jmp *LOCAL(jump_addr) (%rip)
 #endif