http://sourceware.org/bugzilla/show_bug.cgi?id=12910
--- Comment #1 from Roland McGrath <roland at gnu dot org> 2011-06-18 07:53:05 UTC --- This turns out to matter more than I thought. In a -nostartfiles link, there is no crtbegin* and no .init, just .ctors. With GNU ld, this produces .init_array in the output and works. With gold, .ctors is a vanilla rodata output section, and there is no DT_INIT{,_ARRAY} at all, constructors do not run. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils