diff options
author | root <root@rshg054.dnsready.net> | 2012-08-27 03:20:03 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-08-27 03:20:03 +0000 |
commit | feeabffe5469ebe2fde0e79802e470d007528b85 (patch) | |
tree | 1b98f3d07f0a38f721bc038e4e6a724ad5fc264d /libre/grub/fix_stack_pointer_handling_16_relocator.patch | |
parent | fda2b119766956ebbf97ba80640e6eeb1519cad4 (diff) |
Mon Aug 27 03:20:01 UTC 2012
Diffstat (limited to 'libre/grub/fix_stack_pointer_handling_16_relocator.patch')
-rw-r--r-- | libre/grub/fix_stack_pointer_handling_16_relocator.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/grub/fix_stack_pointer_handling_16_relocator.patch b/libre/grub/fix_stack_pointer_handling_16_relocator.patch new file mode 100644 index 000000000..edc0ef502 --- /dev/null +++ b/libre/grub/fix_stack_pointer_handling_16_relocator.patch @@ -0,0 +1,13 @@ +diff --git a/grub-core/lib/i386/relocator16.S b/grub-core/lib/i386/relocator16.S +index c3768f4..982415d 100644 +--- a/grub-core/lib/i386/relocator16.S ++++ b/grub-core/lib/i386/relocator16.S +@@ -130,7 +130,7 @@ VARIABLE(grub_relocator16_ss) + .byte 0xb8 + VARIABLE(grub_relocator16_sp) + .word 0 +- movw %ax, %ss ++ movzwl %ax, %esp + + /* movw imm32, %edx. */ + .byte 0x66, 0xba |