delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2014/04/21/09:27:45

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Mon, 21 Apr 2014 16:27:28 +0300
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: ctime.c changes add about 4.5k more size
In-reply-to: <CAA2C=vDye7JTwHdTfRhmWCE2p8YQrb=UgnA1j24H+UX1M0-Q0g@mail.gmail.com>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83k3aidd8f.fsf@gnu.org>
References: <CAA2C=vBamXSU9Eh53WTLos=nemZs+uJ09QPF9Y8Jj4OSdZPsyQ AT mail DOT gmail DOT com> <83vbu3cc6b DOT fsf AT gnu DOT org> <CAA2C=vB7j86JhFsKTp_Z-+NXM2PT3XKbh7vRqEDt-8RJEo2zpw AT mail DOT gmail DOT com> <CAA2C=vCm0FgM3K7y3r+fRT_Bz+OpVOUqsivKb_3pGvKf7a-fMg AT mail DOT gmail DOT com> <83mwfedesd DOT fsf AT gnu DOT org> <CAA2C=vDye7JTwHdTfRhmWCE2p8YQrb=UgnA1j24H+UX1M0-Q0g AT mail DOT gmail DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Mon, 21 Apr 2014 16:11:41 +0300
> From: Ozkan Sezer <sezeroz AT gmail DOT com>
> 
> Extracted ctime.o from old and new libc.a compilations, 13330 bytes
> and 17452 bytes, and ran nm on them, attached the output files.

Looks like these added functions bear most of the bloat:

 _increment_overflow
 _increment_overflow32
 _leaps_thru_end_of

> Maybe it's best for me to override those functions in my projects
> with lite versions without using any timezone info.

If you don't need the timezone files, you could make the code much
simpler, yes.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019