Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: 540e5d1: Forget about fixedpoint.c in any HWCODEC bin.

Re: 540e5d1: Forget about fixedpoint.c in any HWCODEC bin.

From: Thomas Martitz <kugel_at_rockbox.org>
Date: Wed, 17 Apr 2013 09:07:18 +0200

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.
Received on 2013-04-17

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy