mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 23:59:22 +00:00
Apple fixes.
* grub-core/lib/i386/relocator16.S: Use correct __APPLE__ and not __APPLE_ * grub-core/lib/i386/relocator_common.S [__APPLE__]: Fix gdtdesc definition. * grub-core/lib/i386/relocator64.S [__APPLE__]: Assemble jmp manually.
This commit is contained in:
1 parent
9f3fc8835f
commit
489509f40e
4 files changed
+17
-2
No files matched your search
@@ -109,7 +109,12 @@ VARIABLE(grub_relocator64_rdx)
|
||||
payload and makes this implementation easier. */
|
||||
cld
|
||||
|
||||
#ifdef __APPLE__
|
||||
.byte 0xff, 0x25
|
||||
.quad 0
|
||||
#else
|
||||
jmp *LOCAL(jump_addr) (%rip)
|
||||
#endif
|
||||
|
||||
LOCAL(jump_addr):
|
||||
VARIABLE(grub_relocator64_rip)
|
||||
|
||||
Reference in new issue
Block a user