lkml.org 
[lkml]   [2012]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] x86, boot: Optimize the elf header handling.
On 07/01/2012 12:20 PM, Eric W. Biederman wrote:
>
> Grumble Grumble.
>
> If I force a 2M alignment, poffsets and paddrs align and my previous
> patches work. Although I don't expect that to be more than a testing
> hack.
>
> Meanwhile if I force a 4K max page size for most purposes things look
> better from a file offset perspective. But the data segment is now less
> aligned in the file than it is in memory and my patches don't work.
>
> Sigh.
>
> I feel like I have stumbled into pandoras box.
>

Last I looked at this we didn't actually have a general PHDR parser...
are you running into its limitations?

-hpa



\
 
 \ /
  Last update: 2012-07-01 22:01    [from the cache]
©2003-2011 Jasper Spaans