[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Sat Dec 11 23:19:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
--- Comment #32 from Mark Mitchell <mark at codesourcery dot com> 2010-12-11 23:19:05 UTC ---
On 12/11/2010 2:56 PM, hjl.tools at gmail dot com wrote:
> It works at source code level. I don't believe we ever support
> "interleaving constructor priorities" between object files, with
> .ctors or .init_array.
You can definitely use different priorities in different object files
and be guaranteed that the constructors will be run in numerical
priority order across object files. That's the whole point of the feature.
More information about the Gcc-bugs
mailing list