busybox/coreutils
Denis Vlasenko 55f7912dda libbb: get rid of statics in dump.c; code shrinks a lot too
function                                             old     new   delta
alloc_dumper                                           -      26     +26
hexdump_main                                         600     601      +1
static.done                                            1       -      -1
static.ateof                                           1       -      -1
bb_dump_vflag                                          1       -      -1
static.savp                                            4       -      -4
static.nextfs                                          4       -      -4
static.curp                                            4       -      -4
exitval                                                4       -      -4
endfu                                                  4       -      -4
bb_dump_length                                         4       -      -4
bb_dump_fshead                                         4       -      -4
bb_dump_blocksize                                      4       -      -4
_argv                                                  4       -      -4
bb_dump_add                                          365     358      -7
savaddress                                             8       -      -8
eaddress                                               8       -      -8
bb_dump_skip                                           8       -      -8
address                                                8       -      -8
bb_dump_dump                                        2748    2672     -76
next                                                 538     445     -93
------------------------------------------------------------------------------
(add/remove: 1/16 grow/shrink: 1/3 up/down: 27/-247)         Total: -220 bytes
   text	   data	    bss	    dec	    hex	filename
 789458	    607	   6764	 796829	  c289d	busybox_old
 789309	    601	   6696	 796606	  c27be	busybox_unstripped
2008-07-16 11:00:16 +00:00
..
libcoreutils *: add FAST_FUNC markers 2008-07-12 11:23:36 +00:00
basename.c more -Wall warning fixes from Cristian Ionescu-Idbohrn. 2008-05-13 02:27:31 +00:00
cal.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
cat.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
catv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chown.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
chroot.c lpd: spool mode added by Vladimir 2008-02-25 20:30:24 +00:00
cksum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
comm.c comm: almost total rewrite; add testsuite 2008-07-15 06:45:14 +00:00
Config.in sleep: make fractional seconds separately selectable in .config 2008-07-15 22:01:49 +00:00
cp.c cp: fix "cp -RL" to create regular files even if src is a symlink 2008-04-27 22:06:24 +00:00
cut.c libbb: introduce and use xrealloc_vector 2008-07-08 05:14:36 +00:00
date.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
dd.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
df.c df: add -a 2007-11-15 09:02:12 +00:00
dirname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dos2unix.c dos2unix: do not destroy symlinks and mode of the file being converted. 2008-06-14 04:28:41 +00:00
du.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
echo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
env.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
expand.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
expr.c expr: fix comparisons 'a < b' where we were overflowing a-b 2008-04-02 20:24:09 +00:00
false.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
fold.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
head.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
hostid.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
id.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
install.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
Kbuild ash: optional printf builtin. +25 bytes if off, +35 if on. 2008-06-01 22:36:39 +00:00
length.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ln.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
logname.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
ls.c ls: fix a bug where we may use uninintialized variable 2008-07-15 05:21:47 +00:00
md5_sha1_sum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mkdir.c patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes) 2008-03-23 22:55:25 +00:00
mkfifo.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c mv: fix a case when we move dangling symlink 2008-07-12 11:22:19 +00:00
nice.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
nohup.c nohup: compat patch by Christoph Gysin <mailinglist.cache at gmail.com> 2008-02-04 00:30:06 +00:00
od_bloaty.c libbb: introduce and use xrealloc_vector 2008-07-08 05:14:36 +00:00
od.c libbb: get rid of statics in dump.c; code shrinks a lot too 2008-07-16 11:00:16 +00:00
printenv.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
printf.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
pwd.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
readlink.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
realpath.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rm.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
rmdir.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
seq.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
sleep.c sleep: make fractional seconds separately selectable in .config 2008-07-15 22:01:49 +00:00
sort.c libbb: introduce and use xrealloc_vector 2008-07-08 05:14:36 +00:00
split.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
stat.c stat: pointers are not 0L, they are NULL 2008-06-27 22:31:07 +00:00
stty.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
sum.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
sync.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tac.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tail.c more -Wall warning fixes from Cristian Ionescu-Idbohrn. 2008-05-13 02:27:31 +00:00
tee.c tee: fix infinite looping on open error (echo asd | tee "") 2008-07-16 07:34:00 +00:00
test_ptr_hack.c add forgotten files. I am forgetting it all the time :( 2008-04-22 18:07:41 +00:00
test.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
touch.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tr.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
true.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
tty.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uname.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uniq.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
usleep.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uudecode.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
uuencode.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wc.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
who.c libbb: use improved xmalloc_read() from modprobe-small 2008-07-09 09:50:33 +00:00
whoami.c *: rename ATTRIBUTE_XXX to just XXX. 2008-07-05 09:18:54 +00:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00