Re: [PATCH] Prevent .gnu.linkonce.this_module section from being merged with other sections

Miles Bader (miles@lsi.nec.co.jp)
10 Jan 2003 18:39:39 +0900


Rusty Russell <rusty@rustcorp.com.au> writes:
> > +++ linux-2.5.55-moo/Makefile 2003-01-09 14:07:36.000000000 +0900
> > -LDFLAGS_MODULE = -r
> > +LDFLAGS_MODULE = -r --unique=.gnu.linkonce.this_module
>
> No! Does this not work?
>
> +++ working-2.5.55-strlen/arch/v850/Makefile 2003-01-10 19:32:09.000000000 +1100
> +LDFLAGS_MODULE += --unique=.gnu.linkonce.this_module

That'll probably work too.

[Though since the module loader depends on .gnu.linkonce.this_module
being a unique section, I think the global option should be OK as well]

-Miles

-- 
Is it true that nothing can be known?  If so how do we know this?  -Woody Allen
-
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/