* grub-core/boot/i386/pc/startup_raw.S: Move decompressor_end to .bss
to ensure that it's after the last byte of .text.
This commit is contained in:
parent
48afcb75fa
commit
ef023e42a2
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/boot/i386/pc/startup_raw.S: Move decompressor_end to .bss
|
||||
to ensure that it's after the last byte of .text.
|
||||
|
||||
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/ieee1275/ofpath.c (my_isdigit): New function.
|
||||
|
|
|
@ -105,8 +105,7 @@ LOCAL (codestart):
|
|||
call grub_gate_a20
|
||||
|
||||
movl LOCAL(compressed_size), %edx
|
||||
LOCAL(reed_solomon_size) = LOCAL(decompressor_end) - LOCAL(reed_solomon_part)
|
||||
addl $LOCAL(reed_solomon_size), %edx
|
||||
addl $(LOCAL(decompressor_end) - LOCAL(reed_solomon_part)), %edx
|
||||
movl reed_solomon_redundancy, %ecx
|
||||
leal LOCAL(reed_solomon_part), %eax
|
||||
cld
|
||||
|
@ -353,4 +352,5 @@ post_reed_solomon:
|
|||
|
||||
.p2align 4
|
||||
|
||||
.bss
|
||||
LOCAL(decompressor_end):
|
||||
|
|
Loading…
Reference in a new issue