This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patches for egcs-971016 on AIX


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]