busybox/coreutils
Denis Vlasenko 62a90cdd74 *: shrink by using [f]open_or_warn_stdin where appropriate
function                                             old     new   delta
lsattr_main                                           62     143     +81
open_or_warn_stdin                                     -      36     +36
fclose_if_not_stdin                                   20      47     +27
xfopen_stdin                                           -      20     +20
tac_main                                             336     356     +20
cksum_main                                           249     259     +10
bb_argv_dash                                           -       8      +8
su_main                                              448     455      +7
cmp_main                                             630     633      +3
passwd_main                                         1072    1074      +2
uudecode_main                                        317     315      -2
text_yank                                            110     108      -2
handle_incoming_and_exit                            2653    2651      -2
flags                                                  5       1      -4
write_leases                                         235     230      -5
fopen_or_warn_stdin                                   48      42      -6
fold_main                                            648     642      -6
static.argv_dash                                       8       -      -8
sum_main                                             142     128     -14
tail_main                                           1237    1221     -16
sed_main                                             711     695     -16
cmp_xfopen_input                                      17       -     -17
bb_cat                                               113      96     -17
catv_main                                            328     306     -22
strings_main                                         457     434     -23
hash_file                                            298     274     -24
sum_file                                             353     325     -28
sort_main                                            904     859     -45
expand_main                                          736     686     -50
cut_main                                            1116    1065     -51
md5_sha1_sum_main                                    549     493     -56
lsattr_args                                           90       -     -90
read_stduu                                           408     255    -153
------------------------------------------------------------------------------
(add/remove: 3/3 grow/shrink: 7/20 up/down: 214/-657)        Total: -443 bytes
   text    data     bss     dec     hex filename
 797417     658    7428  805503   c4a7f busybox_old
 796973     658    7428  805059   c48c3 busybox_unstripped
2008-03-17 09:07:36 +00:00
..
libcoreutils *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
basename.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cal.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cat.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
catv.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
chgrp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
chmod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
chown.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
chroot.c lpd: spool mode added by Vladimir 2008-02-25 20:30:24 +00:00
cksum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
comm.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
Config.in forgotten bit of rmdir long options support 2008-02-24 22:45:04 +00:00
cp.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
cut.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
date.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
dd.c libbb: introduse and use signal_[no_]SA_RESTART_empty_mask and sigaction_set 2008-03-12 23:19:35 +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: tiny shrink 2008-03-17 08:42:43 +00:00
du.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
echo.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
env.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
expand.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
expr.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
false.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +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 add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
id.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
install.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
Kbuild random s/short/int/ 2008-02-16 13:18:17 +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 add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
ls.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
md5_sha1_sum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
mkdir.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
mkfifo.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mknod.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
mv.c - use standard-imposed constants some more 2007-11-16 12:39:16 +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 actually add bb_qsort.c 2008-03-02 12:53:15 +00:00
od.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
printenv.c *: tidy up usage of char **environ 2008-01-28 22:45:43 +00:00
printf.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
pwd.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
readlink.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
realpath.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
rm.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
rmdir.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00: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 add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
sort.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
split.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
stat.c *: fix fallout from -Wunused-parameter 2008-03-17 09:04:04 +00:00
stty.c stty: fix mishandling of 'control' keywords (Ralf Friedl <Ralf.Friedl@online.de>) 2008-01-27 23:24:31 +00:00
sum.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
sync.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tac.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
tail.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
tee.c libbb: introduce bb_signals and bb_signals_recursive, 2008-02-16 22:58:56 +00:00
test.c *: add optimization barrier to all "G trick" locations 2008-02-27 18:41:59 +00:00
touch.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tr.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
true.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
tty.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
uname.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
uniq.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
usleep.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
uudecode.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00
uuencode.c add -fvisibility=hidden to CC flags, mark XXX_main functions 2007-10-11 10:05:36 +00:00
wc.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
who.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
whoami.c *: add -Wunused-parameter; fix resulting breakage 2008-03-17 09:00:54 +00:00
yes.c *: shrink by using [f]open_or_warn_stdin where appropriate 2008-03-17 09:07:36 +00:00