diff --git a/ChangeLog b/ChangeLog index 507e60a58..d47d5af6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-07-29 OKUJI Yoshinori + + The Linux zImage support is working now. + + * stage2/asm.S (linux_boot): Add 3 into %ecx and shift %ecx to + the right by 2 bits, instead of shift %ecx to the left by 2 + bits. + 2000-07-29 Jochen Hoenicke * stage2/fsys_reiserfs.c (block_read): Changed the variable "len" diff --git a/stage2/asm.S b/stage2/asm.S index 0c351377a..2982c1685 100644 --- a/stage2/asm.S +++ b/stage2/asm.S @@ -1698,7 +1698,8 @@ ENTRY(linux_boot) /* copy kernel */ movl EXT_C(linux_text_len), %ecx - shll $2, %ecx + addl $3, %ecx + shrl $2, %ecx movl $LINUX_STAGING_AREA, %esi movl $LINUX_KERNEL, %edi