Am 17.04.2013 07:57, schrieb Michael Sevakis:
Different functions and data are used from the source depending upon
plugins, codecs or firmware and not everything is compiled with
--ffunction-sections / --fdata-sections. Can the archive be compiled
that way even if the what links to it is not and have it properly
discard unused code and data? I suppose I can just try it if noone
knows offhand.

My tests show that it doesn't work. Any <section>.<function/data>
section merely gets stuffed in <section> in the final output and no
removal of unused code or data is done.


The final link has to include --gc-sections in the command line. Is that the case?

Best regards.

Reply via email to