This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how can I put c++ global destructor in a specific section
- From: <papa at arbolone dot ca>
- To: "Yuxin Ren" <ryx at gwmail dot gwu dot edu>, "gcc-help" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 23 Jul 2015 19:01:03 -0400
- Subject: Re: how can I put c++ global destructor in a specific section
- Authentication-results: sourceware.org; auth=none
- References: <CAAKbDrcsjCiHaGVO_YhWngtU=nkTdOzvJQ+XAcE+b5dCHPLdGA at mail dot gmail dot com>
I have unsubscribe many, many times, but you have a serious problem
receiving the message. I am papa@arbolone.ca, please, please unsubscribe me.
This mailing list is useless to me, if this continues I will take more
offensive action, which is something both of us are trying to avoid.
If you are reading this email, but you are not gcc-help administrator,
please, please, forward this email to the administrator or simple reply to
all. GCC-help should know what to do with this message. Thanks in advance
and please forgive me for any inconvenience.
-----Original Message-----
From: Yuxin Ren
Sent: Thursday, July 23, 2015 2:40 PM
To: gcc-help
Subject: how can I put c++ global destructor in a specific section
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