public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* how can I put c++ global destructor in a specific section
@ 2015-07-23 18:41 Yuxin Ren
  2015-07-23 23:01 ` papa
  0 siblings, 1 reply; 7+ messages in thread
From: Yuxin Ren @ 2015-07-23 18:41 UTC (permalink / raw)
  To: gcc-help

Hi,

I know after gcc 4.8, the global constructor is put in the init_array section.
But I don't know which section hold the destructors. And the
fini_array does not hold destructors.

Can I put those global destructor in a specific section?

Thanks a lot
Yuxin

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-07-24  8:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 18:41 how can I put c++ global destructor in a specific section Yuxin Ren
2015-07-23 23:01 ` papa
2015-07-23 23:22   ` Jonathan Wakely
2015-07-23 23:27     ` Jonathan Wakely
2015-07-24  0:12       ` papa
2015-07-24  1:12         ` Olivier Diotte
2015-07-24  8:33         ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).