[Bug other/46770] Replace .ctors/.dtors with .init_array/.fini_array on targets supporting them
ccoutant at google dot com
gcc-bugzilla@gcc.gnu.org
Tue Apr 17 21:12:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770
--- Comment #86 from ccoutant at google dot com 2012-04-17 21:09:15 UTC ---
> I have seen codes like:
>
> void (*const init_array []) (void)
> __attribute__ ((section (".init_array"), aligned (sizeof (void *)))) =
> {
> &init_0,
> &init_1,
> &init_2
> };
>
> I don't want to reverse its order.
We will not reverse that order. Those three entries will all be in the
same input section.
-cary
More information about the Gcc-bugs
mailing list