[RFC PATCH u-boot 00/12] U-Boot LTO (Sandbox + ARM Nokia RX-51)

Marek Behun marek.behun at nic.cz
Thu Mar 4 11:43:27 CET 2021


On Wed, 3 Mar 2021 16:36:05 -0500
Tom Rini <trini at konsulko.com> wrote:

> So, as I start testing things locally with two additional changes (1.
> LTO by default 2. No ffunction/data-sections with LTO) we see:
> https://gist.github.com/trini/350ab850c42293563228b8d68a1bb89a
> as the detailed size reduction.  This also shows that with LTO we want
> to turn off -ffunction-sections/etc as it's not useful now.

Tom, I have pushed another version to github PR to trigger CI, and am
still working on clang. You can look at the github PR if you want to
try yourself. I have also added patch that disables
-ffunction-section/fdata-section on arm.

After I manage to make it all work in CI I will send v2 to mailing list.

Marek


More information about the U-Boot mailing list