inetd: make some fields smaller, move data out of data/bss sections
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 24 Sep 2007 10:41:30 +0000 (10:41 +0000)
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Mon, 24 Sep 2007 10:41:30 +0000 (10:41 +0000)
commit8f0f079d773ab31f416586d0a6dce3c4fceb1b07
tree01f54b21525827818acb072c4ecb84475b6d5d58
parentd0429f8cc28980bd96f020dd25fabc0d6ca6bf06
inetd: make some fields smaller, move data out of data/bss sections

function                                             old     new   delta
inetd_main                                          2125    2160     +35
setup                                                640     645      +5
initring                                              48      53      +5
reapchild                                            169     173      +4
retry                                                 92      93      +1
goaway                                               113     112      -1
inetd_setproctitle                                   175     173      -2
chargen_dg                                           229     227      -2
uid                                                    4       -      -4
.......................
Argv                                                   4       -      -4
rlim_ofile_cur                                         8       -      -8
config                                              1610    1602      -8
rlim_ofile                                            16       -     -16
getconfigent                                        1271    1241     -30
builtins                                             176     132     -44
ring                                                 128       -    -128
allsock                                              128       -    -128
------------------------------------------------------------------------------
(add/remove: 0/18 grow/shrink: 5/6 up/down: 50/-423)         Total: -373 bytes
   text    data     bss     dec     hex filename
 774144    1051   10708  785903   bfdef busybox_old
 774108    1039   10380  785527   bfc77 busybox_unstripped
$ size inetd.o inetd_orig.o
   text    data     bss     dec     hex filename
   9027       0       0    9027    2343 inetd.o
   9064      12     324    9400    24b8 inetd_orig.o

git-svn-id: svn://busybox.net/trunk/busybox@19986 69ca8d6d-28ef-0310-b511-8ec308f3f277
networking/inetd.c