|
Message-ID: <20210214055935.GB15987@voyager> Date: Sun, 14 Feb 2021 06:59:35 +0100 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Subject: Re: Can’t build musl with lto=thin On Sat, Feb 13, 2021 at 06:54:24PM +0100, Tim Tassonis wrote: > On 2/1/21 10:20 PM, Jiahao XU wrote: > > And if I changed puts to printf and uses -fno-builtin, it also generates > > a 16KB executable. > > Strange, I get 19k without -fno-builtin and 28K with it: > GCC detects the use of printf() with only a constant string ending in \n and replaces it with a call to puts(). You can see that by looking at the disassembly, or making GCC generate the assembly. Ciao, Markus
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.