This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcc/56277] libgcc.a and libgcc_eh.a should be compiled with function-level linking
- From: "msharov at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Feb 2013 00:33:03 +0000
- Subject: [Bug libgcc/56277] libgcc.a and libgcc_eh.a should be compiled with function-level linking
- Auto-submitted: auto-generated
- References: <bug-56277-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56277
--- Comment #3 from msharov at users dot sourceforge.net 2013-02-11 00:33:03 UTC ---
(In reply to comment #2)
> Do you think you have an example where adding -ffunction-sections can help for
> the compiled libgcc.a ?
No, sorry. Checking this would require manually recompiling libgcc with
-ffunction-sections and trying it out on my projects. Since I haven't compiled
gcc in quite a long time and have forgotten all the tricks for doing it, this
will be a lot of work. So, if you say you already do all you can to minimize
what is linked in from there, I'll take your word for it.