2 Commits

Author SHA1 Message Date
Gordon Williams
2ab579f550 Apply patch from Daniel Serpell (with minor tweaks). Also note that this speeds up code with -O3 as well, by around 2%.
----

This patch series fixes (and enables by default) the compilation with
link-time-optimization (LTO).

This was tested with gcc-4.8 from https://launchpad.net/gcc-arm-embedded
and results in a 10% code size reduction when compilling with -Os.

Daniel Serpell (3):
  Include math function prototypes from the definitions.
  Remove memset function, already included as builtin by gcc.
  Compile with LTO, gives 10% smaller code.
2014-01-31 09:48:38 +00:00
Gordon Williams
f3d6e0bc83 First commit 2013-09-26 14:39:04 +01:00