Patches for egcs-971016 on AIX
Andrey Slepuhin
pooh@msu.ru
Thu Oct 23 00:47:00 GMT 1997
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.
More information about the Gcc
mailing list