qemu: Switch to more portable .org
Binary is checked identical.
This commit is contained in:
parent
8afd8f3b64
commit
3c6043245e
2 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ _start:
|
||||||
|
|
||||||
jmp 1f
|
jmp 1f
|
||||||
|
|
||||||
. = _start + GRUB_BOOT_I386_QEMU_CORE_ENTRY_ADDR
|
.org GRUB_BOOT_I386_QEMU_CORE_ENTRY_ADDR
|
||||||
VARIABLE(grub_core_entry_addr)
|
VARIABLE(grub_core_entry_addr)
|
||||||
.long 0
|
.long 0
|
||||||
1:
|
1:
|
||||||
|
@ -66,9 +66,9 @@ VARIABLE(grub_core_entry_addr)
|
||||||
/* Intel, in its infinite wisdom, decided to put the i8086 entry point
|
/* Intel, in its infinite wisdom, decided to put the i8086 entry point
|
||||||
*right here* and this is why we need this kludge. */
|
*right here* and this is why we need this kludge. */
|
||||||
|
|
||||||
. = GRUB_BOOT_MACHINE_SIZE - 16
|
.org GRUB_BOOT_MACHINE_SIZE - 16
|
||||||
|
|
||||||
.code16
|
.code16
|
||||||
|
|
||||||
jmp _start
|
jmp _start
|
||||||
. = GRUB_BOOT_MACHINE_SIZE
|
.org GRUB_BOOT_MACHINE_SIZE
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
_start:
|
_start:
|
||||||
jmp codestart
|
jmp codestart
|
||||||
|
|
||||||
. = _start + GRUB_KERNEL_I386_QEMU_CORE_ENTRY_ADDR
|
.org GRUB_KERNEL_I386_QEMU_CORE_ENTRY_ADDR
|
||||||
VARIABLE(grub_core_entry_addr)
|
VARIABLE(grub_core_entry_addr)
|
||||||
.long 0
|
.long 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue