All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] grub2 for Cygwin
Date: Tue, 15 Apr 2008 15:12:36 +0200	[thread overview]
Message-ID: <20080415131236.GA21548@thorin> (raw)
In-Reply-To: <1JlOrY-1BZxNA0@fwd28.aul.t-online.de>

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 /.)



  reply	other threads:[~2008-04-15 13:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-03 13:28 [PATCH] grub2 for Cygwin Christian Franke
2008-04-03 16:02 ` Bean
2008-04-03 19:56   ` Christian Franke
2008-04-03 20:38     ` Pavel Roskin
2008-04-05 12:44       ` Christian Franke
2008-04-07  2:07         ` Pavel Roskin
2008-04-07 19:46           ` Christian Franke
2008-04-13 10:37             ` Robert Millan
2008-04-13 10:39 ` Robert Millan
2008-04-13 20:24   ` Christian Franke
2008-04-14 12:00     ` Robert Millan
2008-04-14 13:36       ` Christian Franke
2008-04-15 13:12         ` Robert Millan [this message]
2008-04-15 14:26           ` Christian Franke
  -- strict thread matches above, loose matches on Subject: below --
2007-10-16 12:03 Christian Franke
2007-10-16 13:34 ` Robert Millan
2007-10-20 23:37 ` Robert Millan
2007-10-21 13:07   ` Christian Franke
2007-10-21 13:18     ` Vesa Jääskeläinen
2007-10-21 13:51       ` Christian Franke
2007-10-21 14:13         ` Robert Millan
2007-11-09 13:57         ` Marco Gerards
2007-11-09 15:07           ` Christian Franke
2008-04-02 22:07 ` Christian Franke
2008-04-03  8:03   ` Bean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080415131236.GA21548@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.