All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] U-Boot SPL and LTO (armv7)
@ 2018-10-10 17:03 Adam Ford
  0 siblings, 0 replies; only message in thread
From: Adam Ford @ 2018-10-10 17:03 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-10 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-10 17:03 [U-Boot] U-Boot SPL and LTO (armv7) Adam Ford

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.