[arm-gnu] Image size reduction with linker optimization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[arm-gnu] Image size reduction with linker optimization
- To: <arm-gnu@xxxxxxxxxxxxxxxx>
- Subject: [arm-gnu] Image size reduction with linker optimization
- From: "Michael Downing" <Michael_Downing@xxxxxxxxxxx>
- Date: Thu, 5 Feb 2009 07:41:59 -0800
I am developing a program using CodeSourcery Lite and the ST drivers for
the STM32 family. I am calling only a few functions in the ST driver
files, and yet I see ALL of the functions of those files included,
whether they are called or not. I want to minimize my image size by
getting rid of this unused code.
When I compile and link using the Raisonance toolkit (also gnu), I don't
see this extraneous code linked in.
I've tried all the reasonable linker options I can find in the
documentation, with no luck.
Any suggestions?
TIA,
Michael Downing