Hi On Mon, Mar 7, 2022 at 9:41 PM Richard Henderson < richard.henderson@linaro.org> wrote: > On 3/1/22 04:46, marcandre.lureau@redhat.com wrote: > > Replace the global variables with inlined helper functions. > getpagesize() is very > > likely annotated with a "const" function attribute (at least with > glibc), and thus > > optimization should apply even better. > > > > This avoids the need for a constructor initialization too. > > What's the change in the size of the qemu text section with this change? > I get +496 bytes (on a 58Mb binary ;) -- Marc-André Lureau