Re: having reflect the running kernel

Werner Almesberger (
Tue, 5 Sep 1995 12:51:15 +0200 (MET DST)

David Holland <> wrote:
> The load image should be compressed, and the symbols should follow the
> load image. This permits lseek. It might require hacking binutils a
> bit to get full support, though.

Yup, or attach a second executable header. This approach is bad for
people using boot floppies, LOADLIN+mtools or such, but that's
probably not that much of an issue ...

> The question, then: should there be space made in /proc for a link to
> the current kernel image, and should programs needing kernel symbols
> be changed to use it?

No, because
- you might not currently run the kernel you're analyzing
- the kernel doesn't necessarily know its own location

- Werner

 / Werner Almesberger, DI-LRC,EPFL,CH /