Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

From: H. Peter Anvin
Date: Sun Jul 01 2012 - 15:23:09 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/