[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <479F6AD2.8050908@zytor.com>
Date: Tue, 29 Jan 2008 10:05:06 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Jeremy Fitzhardinge <jeremy@...p.org>
CC: Ian Campbell <ijc@...lion.org.uk>, linux-kernel@...r.kernel.org,
"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: PATCH/RFC: bzImage payload as compressed ELF file.
Jeremy Fitzhardinge wrote:
> I solved that with some linker magic. One of the things I did was get
> rid of tools/build and did everything in the linker. And I worked out a
> trick where you can get the setup code to refer to vmlinux's symbols
> without actually linking it in (no, wait, was that to solve something
> else?).
It's also easy enough to either use objdump -h or nm to extract info
from vmlinux; or for some of the simpler stuff, just parse the ELF
directly (perhaps using libelf).
There is also the -R option to ld, which imports symbols from one
executable into another.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists