This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patches for egcs-971016 on AIX
- To: Mike Stump <mrs at wrs dot com>
- Subject: Re: Patches for egcs-971016 on AIX
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 23 Oct 1997 11:46:28 +0400
- CC: egcs at cygnus dot com
- Organization: Moscow State University, Network Management Department
- References: <199710230106.SAA19814@kankakee.wrs.com>
Mike Stump wrote:
> > Andrey> And finally, what about __eh_* symbols? They are global in
> > Andrey> *every* object file. If I create a shared object from
> > Andrey> several object files, from which one these symbols will be
> > Andrey> exported?
>
> As I said before. They are (should be) common symbols. What this
> means is that all occurrences smash into just one instance. Any
> deviation from this will cause things to fail.
Well, what about explicit exporting these symbols when building
libstdc++? Or may be it is better to include a separate module into
libstdc++ which will define these symbols and to treat them as extern in
other modules (the last variant needs a little change in code
generation,
the first variant does not). It seems this can solve the problem. Are
there
exist other symbols with such properties?
Andrey.