LTO
LTO
Posted Aug 29, 2014 10:37 UTC (Fri) by jezuch (subscriber, #52988)In reply to: LTO by yoshi314
Parent article: Kernel tinification
> i wonder if -whole-program can be used in final link stage.
Normally, no - because in the final link stage all you (normally) have are the already compiled and optimized object files. You need the source code in some form [also] available, and that's *exactly* what gcc's LTO does. There's not much more to it.
And, it's a lot less buggy than a few years ago.