Merge branch '2021-05-24-add-lto-support'
authorTom Rini <trini@konsulko.com>
Mon, 24 May 2021 20:12:31 +0000 (16:12 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 24 May 2021 20:12:31 +0000 (16:12 -0400)
- 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.


Trivial merge