qemu: Switch to more portable .org

Binary is checked identical.
This commit is contained in:
Vladimir Serbinenko 2015-02-21 20:13:58 +01:00
parent 8afd8f3b64
commit 3c6043245e
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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