grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module


From: Pavel Roskin
Subject: Re: [PATCH] define GRUB_MOD_ALIGN to 0 on non-ieee1275 (Re: does module area require alignment? (Re: [PATCH] i386-qemu port))
Date: Mon, 22 Jun 2009 17:45:54 -0400

On Mon, 2009-06-22 at 23:22 +0200, Robert Millan wrote:
> On Mon, Jun 22, 2009 at 04:51:43PM -0400, Pavel Roskin wrote:
> > 
> > You may want to use 4 byte alignment too.  It's a good thing to align
> > 32-bit addresses in the ELF headers.
> 
> Ok, but we aren't doing it on i386-pc, and this never caused trouble.  The
> ELF headers in our modules are only loaded by GRUB itself, and if our
> loader can cope with unaligned addresses, why bother trying to align
> them?

Maybe to speed up things.  But I don't really care.

-- 
Regards,
Pavel Roskin




reply via email to

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