summaryrefslogtreecommitdiff
path: root/libre/grub/fix_stack_pointer_handling_16_relocator.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-08-27 00:15:51 -0300
commit43a5bcc4818d2b06b0dbc8f53c9b9c26150e7dc6 (patch)
tree5178fe6d32627d77375f7651dd06b06d6acf06eb /libre/grub/fix_stack_pointer_handling_16_relocator.patch
parentff0f66c534f9f5d0c042c3eaf48bd7e52d94fa34 (diff)
grub-2.00-1: adding new grub to [libre] repo on abslibre
Diffstat (limited to 'libre/grub/fix_stack_pointer_handling_16_relocator.patch')
-rw-r--r--libre/grub/fix_stack_pointer_handling_16_relocator.patch13
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