[Bug ld/15025] --enable-initfini-array creates .init_array where no input has one

2013-01-22 Thread rguenther at suse dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=15025 --- Comment #10 from rguenther at suse dot de 2013-01-23 07:45:33 UTC --- "hjl.tools at gmail dot com" wrote: >http://sourceware.org/bugzilla/show_bug.cgi?id=15025 > >--- Comment #9 from H.J. Lu 2013-01-22 >20:47:08 UTC --- >I checked GCC 4.7

[Bug ld/15025] --enable-initfini-array creates .init_array where no input has one

2013-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15025 --- Comment #9 from H.J. Lu 2013-01-22 20:47:08 UTC --- I checked GCC 4.7. There are no .ctor/.dtor sections in crtbegin nor crtend files when init-arrary section is enabled. We do this way to support older GCCs which doesn't use init-array

[Bug ld/15025] --enable-initfini-array creates .init_array where no input has one

2013-01-22 Thread rguenther at suse dot de
http://sourceware.org/bugzilla/show_bug.cgi?id=15025 --- Comment #8 from rguenther at suse dot de 2013-01-22 19:58:31 UTC --- "hjl.tools at gmail dot com" wrote: >http://sourceware.org/bugzilla/show_bug.cgi?id=15025 > >--- Comment #7 from H.J. Lu 2013-01-22 >17:09:57 UTC --- >.ctors/.dors secti

[Bug ld/15025] --enable-initfini-array creates .init_array where no input has one

2013-01-22 Thread hjl.tools at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=15025 --- Comment #7 from H.J. Lu 2013-01-22 17:09:57 UTC --- .ctors/.dors section aren't standard. We are removing their support from Linux run-time. The existing DSOs and shared objects still work correctly. All their inputs are converted to gAB