how can I put c++ global destructor in a specific section

Yuxin Ren ryx@gwmail.gwu.edu
Thu Jul 23 18:41:00 GMT 2015


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



More information about the Gcc-help mailing list