__cxa_atexit prototype

Martin von Loewis loewis at informatik.hu-berlin.de
Fri Dec 17 10:52:04 UTC 1999


> The generic ABI has been modified (by the IA-64 ABI group) to add an
> "export class" to symbols.  One of the possible settings of the export
> class is "protected," which means that references from within the
> executable being linked are linked to the copy defined in that
> executable, and not subject to preemption by a symbol from another
> DSO.

Sounds very good. I could not find a reference to the new gABI on the 
you C++ ABI pages; is that available to the public?

> That is, it is the -Bsymbolic effect on a per-symbol basis, and can be
> set by the compiler.

Also, is this a property of the definition, or of the reference?
Ideally, linkage should fail if __dso_handle is not defined within the
DSO. I understand that can be also achieved by all definitions of
__dso_handle being hidden, but 'protected undefined' or similar would
be even better, IMO.

Thanks for the information,
Martin




More information about the cxx-abi-dev mailing list