[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] grub2 for Cygwin
From: |
Robert Millan |
Subject: |
Re: [PATCH] grub2 for Cygwin |
Date: |
Tue, 15 Apr 2008 15:12:36 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Mon, Apr 14, 2008 at 03:36:48PM +0200, Christian Franke wrote:
> Robert Millan wrote:
> >
> > Alternatively, why don't you convert PE to ELF somewhere in util/ or
> > so? See how the EFI port handles the reverse conversion (the ia64
> > patch adds more of this).
> >
>
> I already have such a tool (based on objcopy with a small fix for
> PE->ELF added). See this thread:
> http://lists.gnu.org/archive/html/grub-devel/2007-11/msg00174.html
I understand that it may be difficult to fix this in a way the binutils
maintainers will accept, but in your own words (from that thread), the
alternative of fixing it in GRUB is a workaround.
GRUB (and specially this part of GRUB) is very constrained in size. A few
bytes can make the difference between safely embedding core.img in the post-MBR
area or jumping directly to a hard-coded offset in your filesystem. I think
you should really try either fixing BFD or working around the problem somewhere
else (the runtime ELF loader seems like the worst of all the options to me).
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
- Re: [PATCH] grub2 for Cygwin, (continued)
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/03
- Re: [PATCH] grub2 for Cygwin, Pavel Roskin, 2008/04/03
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/05
- Re: [PATCH] grub2 for Cygwin, Pavel Roskin, 2008/04/06
- Re: [PATCH] grub2 for Cygwin, Christian Franke, 2008/04/07
- Re: [PATCH] grub2 for Cygwin, Robert Millan, 2008/04/13
Re: [PATCH] grub2 for Cygwin, Robert Millan, 2008/04/13