Re: Loadable module and kernel gp

From: Erich Focht <>
Date: 2004-01-23 21:45:20
At compile time you can get it from the The symbol is at
the end and called __gp. Of course you might want to have some
cross-checks that you pick up the right I usually take
some known and exported symbols.

But there's surely some dynamic way, too...


On Friday 23 January 2004 10:52, Christian Hildner wrote:
> does anybody know a simple way for a loadable module to get the gp value
> of the kernel? Is there any sample code?
> Christian

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Fri Jan 23 05:46:40 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:21 EST