This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
g++ and link once sections.
- To: gcc at gcc dot gnu dot org
- Subject: g++ and link once sections.
- From: Koundinya K <knk at dde dot dk>
- Date: Wed, 29 Mar 2000 19:39:57 -0700
- Organization: Dansk Data Elektronik A/S
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