g++ and link once sections.
Koundinya K
knk@dde.dk
Wed Mar 29 09:39:00 GMT 2000
Hi all,
I am defining the macros MAKE_DECL_ONE_ONLY and UNIQUE_SECTION_P (as
defined in iris6gld.h) in my target definitions file, to enable g++ to
place the template code compiled into the
.gnu.linkonce sections for the linker to handle the rest.
But when I i compiled a couple of object files having template code the
resulting .o files do not have these sections . Am I missing out any
other macros that are related to this ??
Secondly I would like to know, is this a _must_ for templates ??
Thanks for any info or pointers on this.
koundinya
More information about the Gcc
mailing list