linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* The structure of __ksymtab and __ksymtab_gpl?
@ 2006-09-28 13:38 Shu-Ming
  2006-09-28 17:08 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Shu-Ming @ 2006-09-28 13:38 UTC (permalink / raw)
  To: linux-kernel

Hi all

What is the the structure of __ksymtab and __ksymtab_gpl ?
I mean that __ksymtab and __ksymtab_gpl are the section headers of ELF 
format.

And how to index to the __ksymtab_strings section header from __ksymtab & 
__ksymtab_gpl ?

Thx




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: The structure of __ksymtab and __ksymtab_gpl?
  2006-09-28 13:38 The structure of __ksymtab and __ksymtab_gpl? Shu-Ming
@ 2006-09-28 17:08 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2006-09-28 17:08 UTC (permalink / raw)
  To: Shu-Ming; +Cc: linux-kernel

On Thu, Sep 28, 2006 at 09:38:56PM +0800, Shu-Ming wrote:
> Hi all
> 
> What is the the structure of __ksymtab and __ksymtab_gpl ?
> I mean that __ksymtab and __ksymtab_gpl are the section headers of ELF 
> format.
> 
> And how to index to the __ksymtab_strings section header from __ksymtab & 
> __ksymtab_gpl ?

I suggest you take a deep look at scripts/mod/modpost.c - that should help you.
I do not recall the details by heart but modpost.c is a heavy user
so it should be rather simple to dechiper it from there.

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-28 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-28 13:38 The structure of __ksymtab and __ksymtab_gpl? Shu-Ming
2006-09-28 17:08 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).