Rockbox mail archive
Subject: Re: 540e5d1: Forget about fixedpoint.c in any HWCODEC bin.
Re: 540e5d1: Forget about fixedpoint.c in any HWCODEC bin.
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
Received on 2013-04-17
Page was last modified "Jan 10 2012" The Rockbox Crew