Re: Extraversion in System.map?

Tom Holroyd (tomh@po.crl.go.jp)
Mon, 8 Apr 2002 15:29:47 +0900 (JST)


On Mon, 8 Apr 2002, Keith Owens wrote:

> System.map only contains the numeric kernel version. After all, it is
> difficult to convert 2.4.19-pre6 to Version_132115-pre6 when symbols
> cannot contain '-'.

Well, that has an obvious solution, but modifying the Version string
would likely break something. Adding another string would work. It
could even be done without making the kernel image bigger. In fact,
the Version_* symbol (and Extraversion_* symbol) could both be made
__initdata, couldn't they?

> Don't reinvent the wheel, use ksymoops -s save.map. ksymoops has all
> the verification code that I can think off, -s writes the merged map
> including module information.

Now there's a clever idea.

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