]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-09-28 Yoshinori K. Okuji <okuji@enbug.org>
authorokuji <okuji@localhost>
Wed, 28 Sep 2005 21:47:55 +0000 (21:47 +0000)
committerokuji <okuji@localhost>
Wed, 28 Sep 2005 21:47:55 +0000 (21:47 +0000)
        * stage2/boot.c (load_image): Even if an OS image is an ELF
        object, use the a.out kludge if MULTIBOOT_AOUT_KLUDGE is
        specified.

ChangeLog
docs/grub.8
docs/stamp-vti
docs/version.texi
stage2/boot.c

index 0f93033ec114769b9dffd25db00b9629a71cceff..38db45a6ac16fc6bce508c269f2d557f706064e4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-09-28  Yoshinori K. Okuji  <okuji@enbug.org>
+
+       * stage2/boot.c (load_image): Even if an OS image is an ELF
+       object, use the a.out kludge if MULTIBOOT_AOUT_KLUDGE is
+       specified.
+
 2005-05-08  Yoshinori K. Okuji  <okuji@enbug.org>
 
        * configure.ac (AC_INIT): Upgraded to 0.97.
index 92149f7118185c2655717cf053233a329857be7b..a36c6ae95c97e16a78f42a2d017250c819a9e4fd 100644 (file)
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.23.
-.TH GRUB "8" "May 2005" "grub (GNU GRUB 0.97)" FSF
+.TH GRUB "8" "September 2005" "grub (GNU GRUB 0.97)" FSF
 .SH NAME
 grub \- the grub shell
 .SH SYNOPSIS
index 583b7f48cebd455ff26d8d6c57a13f680011fabd..b97de24c8ac8c108fd51e36f1dfacb3558a98ffe 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 20 September 2004
-@set UPDATED-MONTH September 2004
+@set UPDATED 8 May 2005
+@set UPDATED-MONTH May 2005
 @set EDITION 0.97
 @set VERSION 0.97
index 583b7f48cebd455ff26d8d6c57a13f680011fabd..b97de24c8ac8c108fd51e36f1dfacb3558a98ffe 100644 (file)
@@ -1,4 +1,4 @@
-@set UPDATED 20 September 2004
-@set UPDATED-MONTH September 2004
+@set UPDATED 8 May 2005
+@set UPDATED-MONTH May 2005
 @set EDITION 0.97
 @set VERSION 0.97
index 4185d23e3b8641d898dd4514129d71ec4f3ca31d..04c77358d8f0990d0eb5603fb01a385f7d22fd88 100644 (file)
@@ -1,7 +1,7 @@
 /* boot.c - load and bootstrap a kernel */
 /*
  *  GRUB  --  GRand Unified Bootloader
- *  Copyright (C) 1999,2000,2001,2002,2003,2004  Free Software Foundation, Inc.
+ *  Copyright (C) 1999,2000,2001,2002,2003,2004,2005  Free Software Foundation, Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -96,7 +96,7 @@ load_image (char *kernel, char *arg, kernel_t suggested_type,
   lh = (struct linux_kernel_header *) buffer;
   
   /* ELF loading supported if multiboot, FreeBSD and NetBSD.  */
-  if ((type == KERNEL_TYPE_MULTIBOOT
+  if (((type == KERNEL_TYPE_MULTIBOOT && ! (flags & MULTIBOOT_AOUT_KLUDGE))
        || pu.elf->e_ident[EI_OSABI] == ELFOSABI_FREEBSD
        || grub_strcmp (pu.elf->e_ident + EI_BRAND, "FreeBSD") == 0
        || suggested_type == KERNEL_TYPE_NETBSD)