Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1E5Xmx-0004QT-B9 for mharc-grub-devel@gnu.org; Wed, 17 Aug 2005 19:57:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5XmL-0004IC-HA for grub-devel@gnu.org; Wed, 17 Aug 2005 19:57:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5Xm5-0004D8-DL for grub-devel@gnu.org; Wed, 17 Aug 2005 19:56:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5Xm1-00044D-Th for grub-devel@gnu.org; Wed, 17 Aug 2005 19:56:45 -0400 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5Xpq-0006ID-Il for grub-devel@gnu.org; Wed, 17 Aug 2005 20:00:42 -0400 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 02EEEFFC1FE0 for ; Thu, 18 Aug 2005 01:44:19 +0200 (CEST) Received: from 127.0.0.1 ([127.0.0.1] helo=ip6-localhost) by ASSP-nospam ; 17 Aug 05 23:44:18 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Thu, 18 Aug 2005 01:43:04 +0200 User-Agent: KMail/1.7.2 References: <20050817222726.13988.qmail@web35314.mail.mud.yahoo.com> In-Reply-To: <20050817222726.13988.qmail@web35314.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508180143.04392.okuji@enbug.org> Subject: Re: [DISCUSSION] Multiboot entry point X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2005 23:57:42 -0000 On Thursday 18 August 2005 00:27, Ruslan Nikolaev wrote: > I have a one question. GRUB requires have a kernel as an executable file > (at least for ELF). This is not very good from user point. For example user > can try to load such kernel at operating system and get something like > "Segmentation fault". I don't understand what is wrong with this. It is normal to get an error when the user executes a binary file which is not supposed to run on an alien environment. > I think that having kernel as a non-executable file (for example ET_REL for > ELF) is better. However we need another "entry" point (special symbol). It > is possible to have something like "multiboot_start". ...And doesn't have > "_start" or "start" symbols in kernel at all. I don't agree. From the view of boot loaders, a kernel is truly an executable. So it is natural to use ET_EXEC. Applying ET_REL is very strange, because a kernel is not a relocatable object (who relocates the kernel?). Okuji