-ffunction-sections -fdata-sections for libgcc.a?

Dan Hollis goemon at anime.net
Tue Nov 1 23:18:11 UTC 2005


libstdc++.a on fedora is apparently compiled with -ffunction-sections 
-fdata-sections which allows one to do unused reference garbage collection 
with ld and --gc-sections, which reduces executable size considerably.

However, libgcc.a is not compiled this way. Any specific reason?

-Dan




More information about the fedora-test-list mailing list