grub-devel
[Top][All Lists]
Advanced

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

[PATCH] generic ELF loading #3


From: Hollis Blanchard
Subject: [PATCH] generic ELF loading #3
Date: Tue, 31 Oct 2006 19:23:45 -0600

Here is pass #3 of the ELF loader. Changes from #2:
- the `load' callback no longer modifies the phdr directly
- grub_elf_size() is now a standard function, and only considers PT_LOAD
segments
- grub_elf_phdr_iterate() is now static (though could be made global if
we need it somewhere in the future)
- better debugging output

(Again, since I will be replacing loader/i386/pc/multiboot in the near
future, I have not converted it to use the new infrastructure.)

I'm just going to include them as attachments this time because it's
easier. I have tested this code on PowerPC with both Mac and IBM
firmware, with both 32-bit and 64-bit vmlinux files.

I believe this addresses all comments, so if there are no more issues I
will check it in soon.

-Hollis

Attachment: elf
Description: Text Data

Attachment: linux-ppc-elf64
Description: Text Data


reply via email to

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