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

From: H. Peter Anvin
Date: Sun Jul 01 2012 - 13:15:28 EST


On 07/01/2012 10:09 AM, Eric W. Biederman wrote:

I am suspecting something similar. At the moment I am trying
to remember how to get early printk working in misc.c so I can
poke around a bit more.

The theory that I was working on, that used to be true, and
seems to be true of everything except the percpu section is
that objcopy just does the right thing when creating vmlinux.bin.
vmlinux.bin being what we compress.

I don't see anything obviously wrong with the headers of vmlinux.bin
although we still unnecessarily have section headers in that file.


We leave the section headers in for the benefit of Xen IIRC.

-hpa


--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.



--
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/