mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* exporting symbols in kernel only when a module is compiled?
@ 2002-08-28 16:39 Shaya Potter
  2002-08-29 14:54 ` Kasper Dupont
  0 siblings, 1 reply; 2+ messages in thread
From: Shaya Potter @ 2002-08-28 16:39 UTC (permalink / raw)
  To: linux-kernel

Ok, I'm sure this isn't limited to tcp_hashinfo, but does it make sense
to only export some symbols if "x" module is compiled into the kernel?  

For example with tcp_hashinfo, its only exported if ipv6 is compiled as
a module.  So if one statically compiles in ipv6 or doesnt compile it at
all, its not available to any other modules.  Is there a good reason for
it here?  Are there other similiar situations with other symbols? 
Should it be this way?  

It's possible to get around with recompiling modules and System.map
hackery, but should it be necessary?

thanks,

shaya




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

* Re: exporting symbols in kernel only when a module is compiled?
  2002-08-28 16:39 exporting symbols in kernel only when a module is compiled? Shaya Potter
@ 2002-08-29 14:54 ` Kasper Dupont
  0 siblings, 0 replies; 2+ messages in thread
From: Kasper Dupont @ 2002-08-29 14:54 UTC (permalink / raw)
  To: Shaya Potter; +Cc: linux-kernel

Shaya Potter wrote:
> 
> So if one statically compiles in ipv6 or doesnt compile it at
> all, its not available to any other modules.

I think the major problem here is, that if you at first doesn't
compile ipv6 at all, and later want to compile it as a module,
it will not work. I think it would be better if choosing a
feature as module or not compiled at all doesn't change anything
in the kernel.

-- 
Kasper Dupont -- der bruger for meget tid på usenet.
For sending spam use mailto:aaarep@daimi.au.dk
or mailto:mcxumhvenwblvtl@skrammel.yaboo.dk

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

end of thread, other threads:[~2002-08-29 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 16:39 exporting symbols in kernel only when a module is compiled? Shaya Potter
2002-08-29 14:54 ` Kasper Dupont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®