Hi Pali, On Wed, 14 Sept 2022 at 11:32, Pali Rohár <p...@kernel.org> wrote: > > On Wednesday 14 September 2022 11:10:20 Simon Glass wrote: > > LTO take away most//all of the cost of making a static function global. > > This is not solution as LTO does not work on powerpc and as I figured > today, it is broken also on some 32-bit ARM platforms (e.g. mvebu).
Yes, various platforms need debugging of particular issues, as I understand it. Anyway, Sean's solution should work fine and doesn't need LTO. - Simon