[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
Tue Dec 14 15:17:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
--- Comment #62 from Mark Mitchell <mark at codesourcery dot com> 2010-12-14 15:17:25 UTC ---
> Having everyone with knowledge of static construction alerted, can't we use the
> GNU constructor priorities to solve PR44952?
The two constraints are:
(a) priorities aren't supported on all systems, so we need to have a
fall-back mechanism
(b) we need to document which range of priorities we're reserving for
libstdc++
On RTOS platforms, high priorities are also used for things like C
library initialization and even for device initialization.
Thank you,
More information about the Gcc-bugs
mailing list