2008-01-28 Robert Millan <rmh@aybabtu.com>
* include/grub/i386/linuxbios/kernel.h (GRUB_MOD_GAP): New macro. * kern/powerpc/ieee1275/init.c (grub_arch_modules_addr): Remove `ifndef GRUB_MOD_GAP' hack. * util/elf/grub-mkimage.c (add_segments): Likewise.
This commit is contained in:
parent
962ca13330
commit
11cc30ac40
4 changed files with 12 additions and 12 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2004,2005,2006,2007 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2004,2005,2006,2007,2008 Free Software Foundation, Inc.
|
||||
*
|
||||
* GRUB is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -217,11 +217,6 @@ add_segments (char *dir, FILE *out, int chrp, char *mods[])
|
|||
{
|
||||
grub_addr_t modbase;
|
||||
|
||||
/* Only needed for Apple hardware (therefore, powerpc). */
|
||||
#ifndef GRUB_MOD_GAP
|
||||
#define GRUB_MOD_GAP 0
|
||||
#endif
|
||||
|
||||
/* Place modules just after grub segment. */
|
||||
modbase = ALIGN_UP(grub_end + GRUB_MOD_GAP, GRUB_MOD_ALIGN);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue