* 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>
|
2012-03-02 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* util/ieee1275/ofpath.c (my_isdigit): New function.
|
* util/ieee1275/ofpath.c (my_isdigit): New function.
|
||||||
|
|
|
@ -105,8 +105,7 @@ LOCAL (codestart):
|
||||||
call grub_gate_a20
|
call grub_gate_a20
|
||||||
|
|
||||||
movl LOCAL(compressed_size), %edx
|
movl LOCAL(compressed_size), %edx
|
||||||
LOCAL(reed_solomon_size) = LOCAL(decompressor_end) - LOCAL(reed_solomon_part)
|
addl $(LOCAL(decompressor_end) - LOCAL(reed_solomon_part)), %edx
|
||||||
addl $LOCAL(reed_solomon_size), %edx
|
|
||||||
movl reed_solomon_redundancy, %ecx
|
movl reed_solomon_redundancy, %ecx
|
||||||
leal LOCAL(reed_solomon_part), %eax
|
leal LOCAL(reed_solomon_part), %eax
|
||||||
cld
|
cld
|
||||||
|
@ -353,4 +352,5 @@ post_reed_solomon:
|
||||||
|
|
||||||
.p2align 4
|
.p2align 4
|
||||||
|
|
||||||
|
.bss
|
||||||
LOCAL(decompressor_end):
|
LOCAL(decompressor_end):
|
||||||
|
|
Loading…
Add table
Reference in a new issue