This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52489] LTO drops init_array/fini_array sections
- From: "krisztian.kocsis at optimaster dot eu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Mar 2012 12:46:47 +0000
- Subject: [Bug lto/52489] LTO drops init_array/fini_array sections
- Auto-submitted: auto-generated
- References: <bug-52489-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52489
--- Comment #2 from Krisztian Kocsis <krisztian.kocsis at optimaster dot eu> 2012-03-05 12:46:47 UTC ---
It seems that it works with -fno-use-linker-plugin - strane :S
Now I will try to check some other things.
I think it is not a linker bug because if a save temp files the .s file does
not contain the .init_array section while when -flto is not included it does
contain this section.
I will attach them after I made the checks.