[Bug target/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them

ian at airs dot com gcc-bugzilla@gcc.gnu.org
Fri Jun 24 13:22:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770

--- Comment #67 from Ian Lance Taylor <ian at airs dot com> 2011-06-24 13:21:28 UTC ---
We don't need __FRAME_END__ if we use --eh-frame-hdr.  We don't need
__JCR_END__ if we rename the .jcr section to jcr and use __stop_jcr.  These
will only work with GNU ld or gold, but that is the only case the .ctors/.dtors
code will work anyhow.



More information about the Gcc-bugs mailing list