Re: [PATCH] Modules 3/3: Sort sections

Rusty Russell (rusty@rustcorp.com.au)
Thu, 02 Jan 2003 21:35:54 +1100


In message <20030101.211536.121172392.davem@redhat.com> you write:
> From: Richard Henderson <rth@twiddle.net>
> Date: Wed, 1 Jan 2003 20:58:36 -0800
>
> On Wed, Jan 01, 2003 at 08:50:03PM -0800, David S. Miller wrote:
> > I think this is to get .foo.init sections.
>
> Obviously. Perhaps the question was worded badly. Instead read
> it as "Why don't we force this to be called .init.foo instead?"
>
> This new naming order was created recently, but I forget the reason.
> It used to be .init.foo

No, it used to be .foo.init, but -ffunction-sections calls its
functions <funcname>.init, so it was changed to .init.foo.

Of course, the simpler prefix test should now be sufficient.
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/