making naked attr generally available

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Wed Jun 30 15:43:00 GMT 1999


> In the case of (1), we should write the _init and _fini functions to
> process .ctors and .dtors as one unit.

As a side note: Using DT_FINI_ARRAY for .dtors is probably wrong (as
is having .dtors in the first place) - at least for C++. In general,
this technique can't guarantee that destruction is in reverse order
from construction.

Regards,
Martin



More information about the Gcc mailing list