[PATCH] passwd more size reduction.

Denis Vlasenko vda.linux at googlemail.com
Thu Nov 30 23:21:27 UTC 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: passwd.c.bz2
Type: application/x-bzip2
Size: 3493 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20061201/280bbae6/attachment-0002.bin 


More information about the busybox mailing list