[PATCH] passwd more size reduction.

Tito farmatito at tiscali.it
Thu Nov 30 23:43:24 UTC 2006


On Friday 01 December 2006 00:21, Denis Vlasenko wrote:
> On Thursday 30 November 2006 22:15, Tito wrote:
> > Hi,
> > this patchreduces size of passwd.
> > Bloatmeter says:
> > function                                             old     new   delta
> > passwd_main                                         1771    1779      +8
> > .rodata                                           134358  134102    -256
> > ------------------------------------------------------------------------------
> > (add/remove: 0/0 grow/shrink: 1/1 up/down: 8/-256)           Total: -248 bytes
> > 
> > but it seems not taking into account the removal of
> > the static void set_filesize_limit(int blocks)
> > function.
> 
> Too late. ;) I just cut it down by 500 bytes.
> 
> # size passwd.o
>    text    data     bss     dec     hex filename
>    2805       0       0    2805     af5 passwd.o
> 
> bbox 1.2.1:
>  size passwd.o
>    text    data     bss     dec     hex filename
>    4674       0     160    4834    12e2 passwd.o
> 
> Current svn version is attached.
> --
> vda
> 

Will rediff against current svn tomorrow.

Ciao,
Tito



More information about the busybox mailing list