* grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1'
rather than `/ 2', as the latter requires -Wa,--divide which would require bumping our minimum binutils version.
This commit is contained in:
parent
bddc3ef623
commit
24b7938b32
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-12-04 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/kern/i386/pc/startup.S (grub_console_getkey): Use `>> 1'
|
||||
rather than `/ 2', as the latter requires -Wa,--divide which would
|
||||
require bumping our minimum binutils version.
|
||||
|
||||
2010-12-03 BVK Chaitanya <bvk.groups@gmail.com>
|
||||
|
||||
* util/grub-script-check.c (main): Print script line number on
|
||||
|
|
|
@ -650,7 +650,7 @@ FUNCTION(grub_console_getkey)
|
|||
jae 2f
|
||||
movl %edx, %eax
|
||||
leal LOCAL(bypass_table), %edi
|
||||
movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx
|
||||
movl $((LOCAL(bypass_table_end) - LOCAL(bypass_table)) >> 1), %ecx
|
||||
repne scasw
|
||||
jz 3f
|
||||
|
||||
|
|
Loading…
Reference in a new issue