From 57725b7197bbb5964afcbf610549551e20c179ae Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 8 Jul 2023 07:16:22 +0200 Subject: [PATCH] relocator: Fix incorrect instruction on 32-to-64 bit boot This has broken 64-bit FreeBSD on BIOS since 80948f532d Signed-off-by: Vladimir Serbinenko --- grub-core/lib/i386/relocator64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/lib/i386/relocator64.S b/grub-core/lib/i386/relocator64.S index 00bf31599..c80538e7e 100644 --- a/grub-core/lib/i386/relocator64.S +++ b/grub-core/lib/i386/relocator64.S @@ -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 -- 2.39.2