[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms
From: |
Pavel Roskin |
Subject: |
Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms |
Date: |
Wed, 30 Jan 2008 17:48:14 -0500 |
On Wed, 2008-01-30 at 23:26 +0100, Robert Millan wrote:
> > I only said "I assume" because there is a subtle difference between a
> > "valid ELF file" and "indistinguishable for kernel.elf". It should be
> > valid and acceptable to the OpenFirmware, and the later is a black box
> > to me.
>
> Uhm.. I wonder what'd happen if you pre-link all the stuff into kernel.elf.
I tried to prelink "apple" and "hfs" by changing the makefiles. The
functionality wasn't available. It makes sense, because the core
doesn't know that the modules are linked. The modules are never
registered with the core.
It would be nice to have some linker trick to tell the code about the
prelinked modules. That could make grub-mkimage a very thin wrapper
around "ld -r", perhaps written as a shell script.
--
Regards,
Pavel Roskin
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, (continued)
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Marco Gerards, 2008/01/29
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/29
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Marco Gerards, 2008/01/29
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/29
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Pavel Roskin, 2008/01/30
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/30
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Pavel Roskin, 2008/01/30
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/30
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms,
Pavel Roskin <=
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Marco Gerards, 2008/01/31
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/31
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Yoshinori K. Okuji, 2008/01/31
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Robert Millan, 2008/01/31
- Re: GRUB_MOD_GAP for non-ieee1275 ELF platforms, Yoshinori K. Okuji, 2008/01/31
Re: Redefining GRUB_MOD_GAP in init.c, Marco Gerards, 2008/01/29