bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: load_end == bss_end == -1


From: Yuri Zaporogets
Subject: Re: load_end == bss_end == -1
Date: Tue, 14 May 2002 11:06:28 +0300
User-agent: Mutt/1.2.5i

Hello Okuji,

On Tue, May 14, 2002 at 03:36:47AM +0900, Yoshinori K. Okuji wrote:

> That's another hack. I don't think that is elegant.

IMO, multiboot kluge is one big hack itself :) . Modifying two lines
in boot.c won't harm anything, and it's not a violation of current
Multiboot standard (behavior of the boot loader under such conditions
isn't specified anywhere). 'mbchk' program runs all tests successfully,
so we don't need to touch it at all.

> Why don't you modify the Multiboot header after linking? This is 
> much simpler.

Simpler? Hmm... May be for somebody, but not for me. _That_ would be
another dirty hack for my kernel and other kernels that used such a
technique, I guess. To patch binary code I need to write yet another
tool in C (or some scripting language)...

I'm attaching a tiny patch that solves all these problems. GRUB
is my bootloader of choice, and I will use it even if you don't
agree with me and won't accept the patch. But if you will, you
could help to develop another piece of free software ;) .

Thanks in advance!

-- 
Regards,
Yuri Zaporogets

Attachment: loadend.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]