Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D0r4M-00044q-Hw for mharc-grub-devel@gnu.org; Mon, 14 Feb 2005 20:00:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D0r4L-00044D-3E for grub-devel@gnu.org; Mon, 14 Feb 2005 20:00:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D0r4K-00043y-G1 for grub-devel@gnu.org; Mon, 14 Feb 2005 20:00:00 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D0qwg-0001Yv-3t for grub-devel@gnu.org; Mon, 14 Feb 2005 19:52:06 -0500 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D0qVK-0001dg-Tw for grub-devel@gnu.org; Mon, 14 Feb 2005 19:23:51 -0500 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 433FFFE9DE1D for ; Tue, 15 Feb 2005 01:23:50 +0100 (CET) Received: from 127.0.0.1 ([127.0.0.1] helo=localhost) by ASSP-nospam ; 15 Feb 05 00:23:48 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org Date: Tue, 15 Feb 2005 01:24:58 +0100 User-Agent: KMail/1.7.1 To: grub-devel@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502150124.58574.okuji@enbug.org> Subject: Re: grub ./ChangeLog include/grub/dl.h kern/dl.c ke... 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: Tue, 15 Feb 2005 01:00:01 -0000 On Monday 14 February 2005 19:41, Marco Gerards wrote: > 2005-02-14 Guillem Jover > > * include/grub/dl.h (grub_dl_check_header): New prototype. > (grub_arch_dl_check_header): Change return type to grub_err_t, > remove size parameter and export function. Update all callers. > * kern/dl.c (grub_dl_check_header): New function. > (grub_dl_load_core): Use `grub_dl_check_header' instead of > `grub_arch_dl_check_header'. Check ELF type. Check if sections > are inside the core. > * kern/i386/dl.c (grub_arch_dl_check_header): Remove arch > independent ELF header checks. > * kern/powerpc/dl.c (grub_arch_dl_check_header): Likewise. > * loader/i386/pc/multiboot.c (grub_rescue_cmd_multiboot): Use > `grub_dl_check_header' instead of explicit checks. Check for the > ELF type. > * loader/powerpc/ieee1275/linux.c (grub_rescue_cmd_linux): Use > `grub_dl_check_header' instead of explicit checks. Remove arch > specific ELF header checks. You forgot to mention util/grub-emu.c in ChangeLog. I fixed it at the same time as I checked in my change. Okuji