[PATCH] do not align code. saves ~3k
Denis Vlasenko
vda at ilport.com.ua
Fri Mar 3 06:28:20 UTC 2006
Hi,
This patch replaces -falign-functions=0 etc (which is IIRC useless - means
"use default alignment") with -falign-functions=1 etc.
# size busybox.org.tst/busybox busybox.align1.tst/busybox
text data bss dec hex filename
915759 10616 1045572 1971947 1e16eb busybox.org.tst/busybox
912299 10616 1045572 1968487 1e0967 busybox.align1.tst/busybox
"make sizes" is identical, but "nm busybox" shows that
symbols in busybox.org are aligned to 4 bytes,
while symbols in busybox.align1 are not.
Also available at http://195.66.192.167/linux/bbox/align1.patch
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: align1.patch
Type: text/x-diff
Size: 1054 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060303/e540ee2a/attachment.bin
More information about the busybox
mailing list