Re: [PATCH] Move __this_module to xxx.mod.c

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Sun Feb 16 2003 - 23:53:28 EST


In message <Pine.LNX.4.44.0302162225420.5217-100000@chaos.physics.uiowa.edu> yo
u write:
> On Mon, 17 Feb 2003, Rusty Russell wrote:
>
> > I don't think so: the symbol will be in the module by the time
> > module-init-tools gets to it, or am I missing something?
>
> Yes, but modprobe will look for .gnu.linkonce.__this_module if it wants to
> change the name (but that's now in ___this_module).

Good point. The name change thing is a known hack, of course, but
will fix userspace.

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:16 EST