On Wed, 2010-10-20 at 12:52 +0800, Changli Gao wrote: > On Wed, Oct 20, 2010 at 11:28 AM, Joe Perches <joe@xxxxxxxxxxx> wrote: > > At least some objects are smaller with static. > > $ size net/appletalk/sysctl_net_atalk.o.* > > text data bss dec hex filename > > 324 236 48 608 260 net/appletalk/sysctl_net_atalk.o.withstatic > > 344 236 48 628 274 net/appletalk/sysctl_net_atalk.o.withoutstatic > I got the opposite result for the size of the whole kernel image with > allyesconfig. > original: 33531456 > patched: 33531424 > It seems random. Not using static requires the compiler to emit initialization code for any use of the routine that otherwise would only be done once. _______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge