This is the mail archive of the
mailing list for the libstdc++ project.
- To: dje at watson dot ibm dot com
- Subject: Re: PR3042
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sun, 10 Jun 2001 16:47:53 -0700
- Cc: gdr at codesourcery dot com, Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr, bkoz at nabi dot net, jason at cygnus dot com, libstdc++ at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <email@example.com><200106102333.TAA31238@makai.watson.ibm.com>
>>>>> "David" == David Edelsohn <firstname.lastname@example.org> writes:
>>>>> Mark Mitchell writes:
Mark> Right now, the former does not allocate storage, while the
Mark> latter does. Under my poposal, neither would llocate
David> The application which includes the header allocates COMMON
David> storage in the BSS section. The library, which performs
David> some explicit instantiations, allocates a STRONG symbol and
David> storage in the data section.
David> If there never was an explicit instantiation, the BSS
David> storage allocation exists and would be used (which is
David> exactly the sharing problem with default AIX linking
David> semantics for shared libraries that is causing the errors).
That's consistent with what I said above, for the uninitialized case.
For the initialized case, I think that you will find that there is no
storage allocated whatsoever.
Mark Mitchell email@example.com
CodeSourcery, LLC http://www.codesourcery.com