I am wondering if anyone has done any tests using LTO in SPL?  For
those of us with limited resources, I noticed that we're creeping up
in size, especially when using DM in SPL.

I made a few attempts to enable -flto during compile, but the .S files
fail to assemble.  I found some references that indicating not to use
-flto when running the assembler, but we appear to be using CFLAGS for
assembly and I am not entirely sure how to apply -fno-lto to just the
assembly files.

I am focusing on ARMv7 right now, but if anyone has any suggestions or
have started something, on a different architecture, I'd like to
experiment a little.  I am not sure if the LTO will buy us much
anyway, but any little improvement during SPL would be appreciated.

thanks

adam
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to