-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kostik Belousov wrote: > On Sun, Sep 28, 2008 at 12:55:42PM -0700, Xin LI wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Kostik Belousov wrote: >>> On Sat, Sep 27, 2008 at 12:09:10AM +0000, Xin LI wrote: >>>> delphij 2008-09-27 00:09:10 UTC >>>> >>>> FreeBSD src repository >>>> >>>> Modified files: >>>> sbin/init init.c >>>> Log: >>>> SVN rev 183391 on 2008-09-27 00:09:10Z by delphij >>>> >>>> Static-ify procedures in init(8). >>>> >>>> Revision Changes Path >>>> 1.66 +79 -79 src/sbin/init/init.c >>> What is a reason for the change ? >> This would reduce the size of generated binary... > > I am quite curious. Could you, please, show the numbers. > Is the reduction in size is due to function inlining, or it is purely > symbol table size issue ?
Oh it's not purely symbol table size, making these stuff static would reduce instructions by 100+ for this case. If we strip all symbols out then we still have a 2KB saving by doing this. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjf8BMACgkQi+vbBBjt66B1nwCffDVNCGXBm6cqWwfcyrUSvbMA NgwAnijd7Ya4k3MmiuH7VhDyh9KmPMhc =K5Hc -----END PGP SIGNATURE----- _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"