diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-06-28 21:32:10 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-06-28 21:32:10 -0300 |
commit | 64cf361dd1f757ccc31ced3482efe88c7aaaccc5 (patch) | |
tree | 114be9a3cebf18c3be30b171ec76fd6405c359f6 /libre-testing/grub/fix_stack_pointer_handling_16_relocator.patch | |
parent | 674fdec643af42d0a690b5296da455b60253ea05 (diff) | |
download | abslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.tar.gz abslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.tar.bz2 abslibre-64cf361dd1f757ccc31ced3482efe88c7aaaccc5.zip |
grub-2.00-1: new package
Diffstat (limited to 'libre-testing/grub/fix_stack_pointer_handling_16_relocator.patch')
-rw-r--r-- | libre-testing/grub/fix_stack_pointer_handling_16_relocator.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libre-testing/grub/fix_stack_pointer_handling_16_relocator.patch b/libre-testing/grub/fix_stack_pointer_handling_16_relocator.patch new file mode 100644 index 000000000..edc0ef502 --- /dev/null +++ b/libre-testing/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 |