* 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:
Vladimir 'phcoder' Serbinenko 2012-03-02 11:24:24 +01:00
parent 48afcb75fa
commit ef023e42a2
2 changed files with 7 additions and 2 deletions

View file

@ -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.

View file

@ -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):