lib/i386/relocator64: Fix 64-bit FreeBSD boot on BIOS

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>
This commit is contained in:
Vladimir 'phcoder' Serbinenko
2023-07-08 15:50:23 +02:00
committed by Daniel Kiper
parent db1faedccd
commit 968928240a

View 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