This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]