bug-grub
[Top][All Lists]
Advanced

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

Re: Module size.


From: Yoshinori K. Okuji
Subject: Re: Module size.
Date: Sat, 19 Jan 2002 18:42:40 +0900
User-agent: Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryoae) APEL/10.3 Emacs/20.7 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN)

[Doesn't Sylpheed fold lines automatically?]

At Fri, 18 Jan 2002 21:23:08 -0500,
Rayiner Hashem wrote:
> Hi, I just have a quick question about grub 0.90. Is there any
> particular maximum limit to the size of modules? I'm not trying to
> load a DivX movie at load time or anything, I just want to use grub to
> load a copy of my kernel (by default it loads only the sections that
> have the PT_LOAD attribute) so I can get at the .ctors section in time
> to intialize the static C++ constructors in my kernel.

No limit is hardcoded in GRUB. Of course, the size has a limit,
because of available memory space, a filesystem limit, and so on. You
wouldn't meet any problem in practice.

As for .ctors, it should be put in a program segment which has the
attribute PT_LOAD, so GRUB will load the section gracefully.

Okuji



reply via email to

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