commit | 0c268d73d2b8f2083cbffe3d99debe6e1215613e | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon May 24 16:12:31 2021 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon May 24 16:12:31 2021 -0400 |
tree | 15e7a1deb449053a3ffca9b708813cce2da366ec | |
parent | e80a4fdcf229f135db84fae878f4ed2ad788153c [diff] | |
parent | e89befe1ec29e542ddfc44a010c2492847b0a4d6 [diff] |
Merge branch '2021-05-24-add-lto-support' - Add LTO (link time optimization) support to the build system and enable it on a few boards. This is an alternative to using -ffunction-sections/-fdata-sections and --gc-sections at link time to remove unused code. This can result in notable savings, but needs testing on each platform before use as it can expose problems by optimizing away various functionally necessary calls.