From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15804 invoked from network); 23 Aug 2020 11:08:50 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 23 Aug 2020 11:08:50 -0000 Received: (qmail 8184 invoked by uid 550); 23 Aug 2020 11:08:43 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 8166 invoked from network); 23 Aug 2020 11:08:43 -0000 Date: Sun, 23 Aug 2020 14:08:31 +0300 (MSK) From: Alexander Monakov To: musl@lists.openwall.com In-Reply-To: <20200823115618.79dac5e1@inria.fr> Message-ID: References: <20200823102439.2bbaffb5@inria.fr> <20200823115618.79dac5e1@inria.fr> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [musl] direct coding of asctime_r On Sun, 23 Aug 2020, Jens Gustedt wrote: > > Do I understand correctly that this 10k figure is for an "application" > > that does not use stdio at all otherwise? > > It just uses unformatted IO, namely `puts`. I see, thanks. Indeed printf-style formatting can pull in a bit above 10KB on top of what 'puts' alone needs. On x86-64, top 5 new symbols by size are: 357 T vfprintf 464 r states 1823 r errmsg 2384 t printf_core 2930 t fmt_fp Of those, errmsg would also be pulled in by 'strerror'. Alexander