lkml.org 
[lkml]   [2012]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [tip:x86/urgent] x86, efi stub: Add .reloc section back into image

* Maarten Lankhorst <m.b.lankhorst@gmail.com> wrote:

> Hey,
>
> Op 07-06-12 20:37, tip-bot for Jordan Justen schreef:
> > Commit-ID: 743628e868c5992354fc80b4d1e9a6143da1c0e6
> > Gitweb: http://git.kernel.org/tip/743628e868c5992354fc80b4d1e9a6143da1c0e6
> > Author: Jordan Justen <jordan.l.justen@intel.com>
> > AuthorDate: Thu, 7 Jun 2012 09:05:21 -0700
> > Committer: H. Peter Anvin <hpa@zytor.com>
> > CommitDate: Thu, 7 Jun 2012 09:52:33 -0700
> >
> > x86, efi stub: Add .reloc section back into image
> >
> > Some UEFI firmware will not load a .efi with a .reloc section
> > with a size of 0.
> >
> > Therefore, we create a .efi image with 4 main areas and 3 sections.
> > 1. PE/COFF file header
> > 2. .setup section (covers all setup code following the first sector)
> > 3. .reloc section (contains 1 dummy reloc entry, created in build.c)
> > 4. .text section (covers the remaining kernel image)
> >
> Scary how some patches arrive a few minutes before you need them.

We are all working hard on perfecting our precog skills!

Thanks,

Ingo


\
 
 \ /
  Last update: 2012-06-08 11:41    [W:0.066 / U:1.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site