http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56277
Bug #: 56277
Summary: libgcc.a and libgcc_eh.a should be compiled with
function-level linking
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: libgcc
AssignedTo: [email protected]
ReportedBy: [email protected]
libgcc.a and libgcc_eh.a are not compiled with -ffunction-sections
-fdata-sections. libsupc++.a is compiled with those flags. Because a typical
program will not use much of libgcc, enabling function level linking should
noticeably reduce size of statically linked executables.